diff --git a/.env.dist b/.env.dist index 6e6dc9c..785a04f 100644 --- a/.env.dist +++ b/.env.dist @@ -4,7 +4,7 @@ SERVICE_PORT=5003 HEALTH_SERVICE_PORT=6003 # MESSAGE BROKER -MESSAGE_BROKER_URI=amqp://v3-broker:5672 +MESSAGE_BROKER_URI=amqp://mobicoop:mobicoop@v3-broker:5672 MESSAGE_BROKER_EXCHANGE=mobicoop MESSAGE_BROKER_EXCHANGE_DURABILITY=true diff --git a/package-lock.json b/package-lock.json index c327a2a..3d7828a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mobicoop/configuration", - "version": "2.5.2", + "version": "2.5.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mobicoop/configuration", - "version": "2.5.2", + "version": "2.5.3", "license": "AGPL", "dependencies": { "@grpc/grpc-js": "^1.9.9", diff --git a/package.json b/package.json index 5a04e46d..c5a9f12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mobicoop/configuration", - "version": "2.5.2", + "version": "2.5.3", "description": "Mobicoop V3 Configuration Service", "author": "sbriat", "private": true, diff --git a/src/config/broker.config.ts b/src/config/broker.config.ts index 941a54e..d7389d4 100644 --- a/src/config/broker.config.ts +++ b/src/config/broker.config.ts @@ -1,7 +1,8 @@ import { registerAs } from '@nestjs/config'; export default registerAs('broker', () => ({ - uri: process.env.MESSAGE_BROKER_URI ?? 'amqp://v3-broker:5672', + uri: + process.env.MESSAGE_BROKER_URI ?? 'amqp://mobicoop:mobicoop@v3-broker:5672', exchange: process.env.MESSAGE_BROKER_EXCHANGE ?? 'mobicoop', durability: process.env.MESSAGE_BROKER_EXCHANGE_DURABILITY ? process.env.MESSAGE_BROKER_EXCHANGE_DURABILITY === 'false'