From b191207bf6a79bbb1ce6135a5fdf89fdc8abbe03 Mon Sep 17 00:00:00 2001 From: HugoRCD Date: Sun, 10 Nov 2024 19:20:56 +0100 Subject: [PATCH] fix redis --- apps/shelve/Dockerfile | 2 +- apps/shelve/nuxt.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/shelve/Dockerfile b/apps/shelve/Dockerfile index e965871d..2953f5dc 100644 --- a/apps/shelve/Dockerfile +++ b/apps/shelve/Dockerfile @@ -31,7 +31,7 @@ WORKDIR /app COPY --from=build /app/apps/shelve/.output .output COPY --from=build /app/apps/shelve/prisma ./prisma -RUN apt-get update && apt-get install -y curl +RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* EXPOSE 3000 diff --git a/apps/shelve/nuxt.config.ts b/apps/shelve/nuxt.config.ts index 68f6be6a..79290558 100644 --- a/apps/shelve/nuxt.config.ts +++ b/apps/shelve/nuxt.config.ts @@ -31,7 +31,7 @@ export default defineNuxtConfig({ storage: { cache: { driver: 'redis', - url: process.env.NUXT_PRIVATE_REDIS_URL, + url: process.env.NUXT_PRIVATE_REDIS_URL || 'redis://shelve_redis:6379', }, } },