mirror of
https://gitlab.com/mobicoop/v3/service/territory.git
synced 2026-02-01 21:00:45 +00:00
Merge branch 'redisPwd' into 'main'
secure redis See merge request v3/service/territory!12
This commit is contained in:
@@ -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'),
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user