From e6fda356799bd8cec7a46dba26f5736e2bebe3f1 Mon Sep 17 00:00:00 2001 From: nael Date: Fri, 19 Apr 2024 22:50:18 +0200 Subject: [PATCH] :bug: Fix redis envs --- packages/api/src/app.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/api/src/app.module.ts b/packages/api/src/app.module.ts index 98f15fa79..a92d2c44f 100644 --- a/packages/api/src/app.module.ts +++ b/packages/api/src/app.module.ts @@ -63,8 +63,8 @@ import { ThrottlerGuard, ThrottlerModule } from '@nestjs/throttler'; }), BullModule.forRoot({ redis: { - host: process.env.REDIS_HOST, - port: Number(process.env.REDIS_PORT), + host: process.env.REDIS_HOST || 'redis', + port: Number(process.env.REDIS_PORT) || 6379, password: process.env.REDIS_PASS }, }),