This commit is contained in:
Egor Matveev 2022-04-01 19:24:49 +03:00
parent 597eb0e383
commit 0e7802eef3

View File

@ -197,6 +197,26 @@ services:
parallelism: 1
order: start-first
docker_cleaner:
image: mathwave/sprint-repo:sprint
networks:
- net
command: ./manage.py docker_cleaner
environment:
DB_PASSWORD: $DB_PASSWORD
DEBUG: $DEBUG
TELEGRAM_TOKEN: $TELEGRAM_TOKEN
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: any
update_config:
parallelism: 1
order: start-first
file_generator:
image: mathwave/sprint-repo:sprint
networks: