From 39dd2bcfda4f9f62e90c3a60350a0249af84e742 Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Tue, 29 Mar 2022 11:08:20 +0000 Subject: [PATCH] Update docker-compose-deploy.yaml --- docker-compose-deploy.yaml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/docker-compose-deploy.yaml b/docker-compose-deploy.yaml index 5ea6a46..967aa95 100644 --- a/docker-compose-deploy.yaml +++ b/docker-compose-deploy.yaml @@ -12,6 +12,21 @@ services: volumes: - /sprint-data/postgres-data:/var/lib/postgresql/data # - ./pg_hba.conf:/var/lib/postgresql/data/pg_hba.conf + networks: + - net + deploy: + mode: replicated + restart_policy: + condition: always + update_config: + parallelism: 1 + order: start-first + + rabbitmq: + image: rabbitmq:3.7.9-management + ports: + - "15672:15672" + - "5672:5672" networks: - net deploy: @@ -150,21 +165,6 @@ services: parallelism: 1 order: stop-first - rabbitmq: - image: rabbitmq:3.7.9-management - ports: - - "15672:15672" - - "5672:5672" - networks: - - net - deploy: - mode: replicated - restart_policy: - condition: on-failure - update_config: - parallelism: 1 - order: start-first - worker: image: mathwave/sprint-repo:sprint networks: