Refactor swarm/core.yml to update SLEEP_TIME and UPDATE_OPTIONS

This commit is contained in:
2024-06-06 21:25:03 +08:00
parent d7229e498a
commit 926479d1ac
+6 -2
View File
@@ -131,15 +131,19 @@ services:
# but with KEY='VALUE', they are part of the value and stay there,
# causing problems!
TZ: 'Asia/Singapore'
SLEEP_TIME: '60m'
SLEEP_TIME: '120m'
FILTER_SERVICES: ''
VERBOSE: 'true'
UPDATE_OPTIONS: '--update-delay=30s'
UPDATE_OPTIONS: '--update-delay=60s'
ROLLBACK_OPTIONS: '--rollback-delay=0s'
IMAGE_AUTOCLEAN_LIMIT: '1'
RUN_ONCE_AND_EXIT: 'false'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
replicas: 1
restart_policy:
condition: any
placement:
constraints:
- node.role == manager