update with new images
This commit is contained in:
@@ -1,18 +1,35 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
shepherd:
|
app:
|
||||||
build: .
|
image: containrrr/shepherd
|
||||||
image: mazzolino/shepherd
|
|
||||||
environment:
|
environment:
|
||||||
- SLEEP_TIME=60m
|
TZ: 'Europe/Copenhagen'
|
||||||
- IGNORELIST_SERVICES="shepherd_shepherd wordpress_db wordpress_wordpress"
|
FILTER_SERVICES: ''
|
||||||
- ROLLBACK_ON_FAILURE=true
|
IGNORELIST_SERVICES: ''
|
||||||
- TZ=Europe/Copenhagen
|
RUN_ONCE_AND_EXIT: "true"
|
||||||
- IMAGE_AUTOCLEAN_LIMIT=2
|
|
||||||
# - APPRISE_SIDECAR_URL=apprise-microservice:5000
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
deploy:
|
||||||
|
replicas: 0
|
||||||
|
restart_policy:
|
||||||
|
condition: none
|
||||||
|
labels:
|
||||||
|
- swarm.cronjob.enable=true
|
||||||
|
- swarm.cronjob.schedule=0 1 * * *
|
||||||
|
- swarm.cronjob.skip-running=true
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.role == manager
|
||||||
|
|
||||||
|
scheduler:
|
||||||
|
image: crazymax/swarm-cronjob:latest
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
environment:
|
||||||
|
- "TZ=Europe/Copenhagen"
|
||||||
|
- "LOG_LEVEL=info"
|
||||||
|
- "LOG_JSON=false"
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == manager
|
- node.role == manager
|
||||||
Reference in New Issue
Block a user