mirror of
https://gitlab.com/mobicoop/v3/service/user.git
synced 2026-01-11 22:02:39 +00:00
update configuration module
This commit is contained in:
@@ -39,16 +39,21 @@ import {
|
||||
) as string,
|
||||
messageBroker: {
|
||||
uri: configService.get<string>('MESSAGE_BROKER_URI') as string,
|
||||
exchange: configService.get<string>(
|
||||
'MESSAGE_BROKER_EXCHANGE',
|
||||
) as string,
|
||||
exchange: {
|
||||
name: configService.get<string>(
|
||||
'MESSAGE_BROKER_EXCHANGE',
|
||||
) as string,
|
||||
durable: configService.get<boolean>(
|
||||
'MESSAGE_BROKER_EXCHANGE',
|
||||
) as boolean,
|
||||
},
|
||||
},
|
||||
redis: {
|
||||
host: configService.get<string>('REDIS_HOST') as string,
|
||||
password: configService.get<string>('REDIS_PASSWORD'),
|
||||
port: configService.get<number>('REDIS_PORT') as number,
|
||||
},
|
||||
setConfigurationBrokerQueue: SERVICE_CONFIGURATION_SET_QUEUE,
|
||||
setConfigurationQueue: SERVICE_CONFIGURATION_SET_QUEUE,
|
||||
deleteConfigurationQueue: SERVICE_CONFIGURATION_DELETE_QUEUE,
|
||||
propagateConfigurationQueue: SERVICE_CONFIGURATION_PROPAGATE_QUEUE,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user