From 4a4c1046a052807747416e0022a97fe6f0ec37d9 Mon Sep 17 00:00:00 2001 From: Sylvain Briat Date: Mon, 18 Dec 2023 16:08:26 +0100 Subject: [PATCH] secure broker --- .env.dist | 2 +- ci/.env.ci | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.dist b/.env.dist index 575038b..b422ef0 100644 --- a/.env.dist +++ b/.env.dist @@ -8,7 +8,7 @@ HEALTH_SERVICE_PORT=6001 DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=user" # 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/ci/.env.ci b/ci/.env.ci index f9b4269..6a2350b 100644 --- a/ci/.env.ci +++ b/ci/.env.ci @@ -6,7 +6,7 @@ SERVICE_PORT=5001 DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public" # RABBIT MQ -RMQ_URI=amqp://v3-broker:5672 +RMQ_URI=amqp://mobicoop:mobicoop@v3-broker:5672 # MESSAGE BROKER BROKER_IMAGE=rabbitmq:3-alpine