mirror of
https://gitlab.com/mobicoop/v3/service/territory.git
synced 2026-01-11 16:22:40 +00:00
secure redis
This commit is contained in:
@@ -21,6 +21,7 @@ import { SetConfigurationUseCase } from './domain/usecases/set-configuration.use
|
||||
config: {
|
||||
host: configService.get<string>('REDIS_HOST'),
|
||||
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({
|
||||
host: configService.get<string>('REDIS_HOST'),
|
||||
port: configService.get<number>('REDIS_PORT'),
|
||||
password: configService.get<string>('REDIS_PASSWORD'),
|
||||
ttl: configService.get<number>('CACHE_TTL'),
|
||||
}),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user