mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 08:25:57 +00:00
Refactor swarm/core.yml to update SLEEP_TIME and UPDATE_OPTIONS
This commit is contained in:
+6
-2
@@ -131,15 +131,19 @@ services:
|
|||||||
# but with KEY='VALUE', they are part of the value and stay there,
|
# but with KEY='VALUE', they are part of the value and stay there,
|
||||||
# causing problems!
|
# causing problems!
|
||||||
TZ: 'Asia/Singapore'
|
TZ: 'Asia/Singapore'
|
||||||
SLEEP_TIME: '60m'
|
SLEEP_TIME: '120m'
|
||||||
FILTER_SERVICES: ''
|
FILTER_SERVICES: ''
|
||||||
VERBOSE: 'true'
|
VERBOSE: 'true'
|
||||||
UPDATE_OPTIONS: '--update-delay=30s'
|
UPDATE_OPTIONS: '--update-delay=60s'
|
||||||
ROLLBACK_OPTIONS: '--rollback-delay=0s'
|
ROLLBACK_OPTIONS: '--rollback-delay=0s'
|
||||||
IMAGE_AUTOCLEAN_LIMIT: '1'
|
IMAGE_AUTOCLEAN_LIMIT: '1'
|
||||||
|
RUN_ONCE_AND_EXIT: 'false'
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
deploy:
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
restart_policy:
|
||||||
|
condition: any
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == manager
|
- node.role == manager
|
||||||
|
|||||||
Reference in New Issue
Block a user