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