From 155630f93acc79ea4ba147fc5900f7868cb542a6 Mon Sep 17 00:00:00 2001 From: dn Date: Tue, 21 Jan 2025 22:30:04 +0100 Subject: [PATCH] Added Shepherd DockerStack --- .../Dockers/Shepherd/shepherd-compose.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 DockerStack/Dockers/Shepherd/shepherd-compose.yaml diff --git a/DockerStack/Dockers/Shepherd/shepherd-compose.yaml b/DockerStack/Dockers/Shepherd/shepherd-compose.yaml new file mode 100644 index 0000000..5b23023 --- /dev/null +++ b/DockerStack/Dockers/Shepherd/shepherd-compose.yaml @@ -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 \ No newline at end of file