diff --git a/src/modules/configuration/configuration.module.ts b/src/modules/configuration/configuration.module.ts index 2cc0957..fab6fe0 100644 --- a/src/modules/configuration/configuration.module.ts +++ b/src/modules/configuration/configuration.module.ts @@ -21,6 +21,7 @@ import { SetConfigurationUseCase } from './domain/usecases/set-configuration.use config: { host: configService.get('REDIS_HOST'), port: configService.get('REDIS_PORT'), + password: configService.get('REDIS_PASSWORD'), }, }), }), diff --git a/src/modules/territories/territories.module.ts b/src/modules/territories/territories.module.ts index 7f4a502..72ff8b7 100644 --- a/src/modules/territories/territories.module.ts +++ b/src/modules/territories/territories.module.ts @@ -41,6 +41,7 @@ import { TerritoryProfile } from './mappers/territory.profile'; store: await redisStore({ host: configService.get('REDIS_HOST'), port: configService.get('REDIS_PORT'), + password: configService.get('REDIS_PASSWORD'), ttl: configService.get('CACHE_TTL'), }), }),