From 11c928dcccc46fde6a838dfbc9d16637a5caba60 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sun, 21 Aug 2022 11:39:52 +0300 Subject: [PATCH] ports --- .deploy/deploy-dev.yaml | 8 ++------ .deploy/deploy-prod.yaml | 6 ++---- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.deploy/deploy-dev.yaml b/.deploy/deploy-dev.yaml index 1e37116..22713dd 100644 --- a/.deploy/deploy-dev.yaml +++ b/.deploy/deploy-dev.yaml @@ -39,12 +39,10 @@ services: ports: - "15672:15672" - "5672:5672" - volumes: - - rabbitmq:/var/lib/rabbitmq/ + environment: + RABBITMQ_DEFAULT_PASS: $RABBITMQ_PASSWORD_DEV deploy: mode: replicated - placement: - constraints: [node.role == manager] restart_policy: condition: any update_config: @@ -103,6 +101,4 @@ services: volumes: minio_data: - driver: local - rabbitmq: driver: local \ No newline at end of file diff --git a/.deploy/deploy-prod.yaml b/.deploy/deploy-prod.yaml index f8acdba..34aae65 100644 --- a/.deploy/deploy-prod.yaml +++ b/.deploy/deploy-prod.yaml @@ -39,10 +39,10 @@ services: ports: - "15672:15672" - "5672:5672" + environment: + RABBITMQ_DEFAULT_PASS: $RABBITMQ_PASSWORD_PROD deploy: mode: replicated - placement: - constraints: [node.role == manager] restart_policy: condition: any update_config: @@ -101,6 +101,4 @@ services: volumes: minio_data: - driver: local - rabbitmq: driver: local \ No newline at end of file