Merge branch 'redisPwd' into 'main'
secure redis See merge request v3/service/territory!12
This commit is contained in:
commit
f81ed33b26
|
@ -21,6 +21,7 @@ import { SetConfigurationUseCase } from './domain/usecases/set-configuration.use
|
||||||
config: {
|
config: {
|
||||||
host: configService.get<string>('REDIS_HOST'),
|
host: configService.get<string>('REDIS_HOST'),
|
||||||
port: configService.get<number>('REDIS_PORT'),
|
port: configService.get<number>('REDIS_PORT'),
|
||||||
|
password: configService.get<string>('REDIS_PASSWORD'),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
|
|
|
@ -41,6 +41,7 @@ import { TerritoryProfile } from './mappers/territory.profile';
|
||||||
store: await redisStore({
|
store: await redisStore({
|
||||||
host: configService.get<string>('REDIS_HOST'),
|
host: configService.get<string>('REDIS_HOST'),
|
||||||
port: configService.get<number>('REDIS_PORT'),
|
port: configService.get<number>('REDIS_PORT'),
|
||||||
|
password: configService.get<string>('REDIS_PASSWORD'),
|
||||||
ttl: configService.get<number>('CACHE_TTL'),
|
ttl: configService.get<number>('CACHE_TTL'),
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue