This commit is contained in:
Egor Matveev 2022-05-08 23:13:30 +03:00
parent bfd5ecc0bb
commit b7747ef60b

View File

@ -291,26 +291,26 @@ services:
redis_worker: redis_worker:
image: mathwave/sprint-repo:sprint image: mathwave/sprint-repo:sprint
networks: networks:
- net - net
command: ./manage.py redis_worker command: ./manage.py redis_worker
environment: environment:
DB_HOST: "postgres" DB_HOST: "postgres"
FS_HOST: "storage" FS_HOST: "storage"
RABBIT_HOST: "rabbitmq" RABBIT_HOST: "rabbitmq"
REDIS_HOST: "redis" REDIS_HOST: "redis"
DB_PASSWORD: $DB_PASSWORD DB_PASSWORD: $DB_PASSWORD
DEBUG: $DEBUG DEBUG: $DEBUG
TELEGRAM_TOKEN: $TELEGRAM_TOKEN TELEGRAM_TOKEN: $TELEGRAM_TOKEN
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
deploy: deploy:
mode: global mode: global
restart_policy: restart_policy:
condition: any condition: any
update_config: update_config:
parallelism: 1 parallelism: 1
order: start-first order: start-first
file_generator: file_generator:
image: mathwave/sprint-repo:sprint image: mathwave/sprint-repo:sprint