Added Shepherd DockerStack

This commit is contained in:
dn
2025-01-21 22:30:04 +01:00
parent a421fe69c6
commit 155630f93a

View File

@@ -0,0 +1,18 @@
version: "3"
services:
shepherd:
build: .
image: mazzolino/shepherd
environment:
- SLEEP_TIME=60m
- IGNORELIST_SERVICES="shepherd_shepherd wordpress_db wordpress_wordpress"
- ROLLBACK_ON_FAILURE=true
- TZ=Europe/Copenhagen
- IMAGE_AUTOCLEAN_LIMIT=2
# - APPRISE_SIDECAR_URL=apprise-microservice:5000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
placement:
constraints:
- node.role == manager