diff --git a/docker-compose.yml b/docker-compose.yml index dd88495..fd0c410 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,6 +26,10 @@ services: image: git.vhaudiquet.fr/vhaudiquet/lolstats-patch_detector:${GIT_COMMIT_HASH:-latest} build: ./patch_detector restart: "no" + deploy: + restart_policy: + condition: any + delay: 1h environment: MONGO_USER: root MONGO_PASS: password @@ -34,6 +38,11 @@ services: image: git.vhaudiquet.fr/vhaudiquet/lolstats-match_collector:${GIT_COMMIT_HASH:-latest} build: ./match_collector restart: "no" + deploy: + restart_policy: + condition: any + delay: 20h + window: 1m environment: MONGO_USER: root MONGO_PASS: password