From b7747ef60b7ccd98d1bf6171ecce2e764d624091 Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Sun, 8 May 2022 23:13:30 +0300 Subject: [PATCH] yaml --- .deploy/deploy-prod.yaml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.deploy/deploy-prod.yaml b/.deploy/deploy-prod.yaml index a7c2525..bd25b3f 100644 --- a/.deploy/deploy-prod.yaml +++ b/.deploy/deploy-prod.yaml @@ -291,26 +291,26 @@ services: redis_worker: image: mathwave/sprint-repo:sprint - networks: - - net - command: ./manage.py redis_worker - environment: - DB_HOST: "postgres" - FS_HOST: "storage" - RABBIT_HOST: "rabbitmq" - REDIS_HOST: "redis" - DB_PASSWORD: $DB_PASSWORD - DEBUG: $DEBUG - TELEGRAM_TOKEN: $TELEGRAM_TOKEN - volumes: - - /var/run/docker.sock:/var/run/docker.sock - deploy: - mode: global - restart_policy: - condition: any - update_config: - parallelism: 1 - order: start-first + networks: + - net + command: ./manage.py redis_worker + environment: + DB_HOST: "postgres" + FS_HOST: "storage" + RABBIT_HOST: "rabbitmq" + REDIS_HOST: "redis" + DB_PASSWORD: $DB_PASSWORD + DEBUG: $DEBUG + TELEGRAM_TOKEN: $TELEGRAM_TOKEN + volumes: + - /var/run/docker.sock:/var/run/docker.sock + deploy: + mode: global + restart_policy: + condition: any + update_config: + parallelism: 1 + order: start-first file_generator: image: mathwave/sprint-repo:sprint