yaml
This commit is contained in:
parent
bfd5ecc0bb
commit
b7747ef60b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user