add shepherd compose yaml.
This commit is contained in:
21
shepherd.yaml
Normal file
21
shepherd.yaml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user