From f218092452bb3632b1dda58c925470ea6edab4c4 Mon Sep 17 00:00:00 2001 From: iamBadgers Date: Sun, 20 Jul 2025 10:46:20 -0700 Subject: [PATCH] add shepherd compose yaml. --- shepherd.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 shepherd.yaml diff --git a/shepherd.yaml b/shepherd.yaml new file mode 100644 index 0000000..e143eee --- /dev/null +++ b/shepherd.yaml @@ -0,0 +1,21 @@ +version: "3" + +services: + shepherd: + image: containrrr/shepherd + environment: + # Beware YAML gotchas regarding quoting: + # With KEY: 'VALUE', quotes are part of yaml syntax and thus get stripped + # but with KEY='VALUE', they are part of the value and stay there, + # causing problems! + SLEEP_TIME: "1d" + TZ: "US/Pacific" + VERBOSE: "true" + IGNORELIST_SERVICES: "label=shepherd.autodeploy=false" + FILTER_SERVICES: "label=shepherd.autodeploy=true" + volumes: + - /var/run/docker.sock:/var/run/docker.sock + deploy: + placement: + constraints: + - node.role == manager