Skip to content

Commit

Permalink
🐛 Fix redis envs
Browse files Browse the repository at this point in the history
  • Loading branch information
naelob committed Apr 19, 2024
1 parent 0ea781c commit e6fda35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
}),
Expand Down

0 comments on commit e6fda35

Please sign in to comment.