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