Skip to content

Commit

Permalink
fix(api): fix failing redis connection when deploying using compose
Browse files Browse the repository at this point in the history
  • Loading branch information
hwgilbert16 committed Jul 7, 2024
1 parent a3754d4 commit fb1b80e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import { TasksService } from "./providers/tasks.service";
RedisModule.forRootAsync({
inject: [ConfigService],
useFactory: (configService: ConfigService) => ({
defaultOptions: {
commonOptions: {
host: configService.get<string>("REDIS_HOST"),
port: configService.get<number>("REDIS_PORT"),
username: configService.get<string>("REDIS_USERNAME"),
Expand Down

0 comments on commit fb1b80e

Please sign in to comment.