.
This commit is contained in:
20
shepherd/compose copy.yml
Normal file
20
shepherd/compose copy.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
#version: "3"
|
||||
services:
|
||||
|
||||
shepherd:
|
||||
#build: .
|
||||
image: containrrr/shepherd
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
SLEEP_TIME: ${SLEEP_TIME}
|
||||
WITH_REGISTRY_AUTH: ${WITH_REGISTRY_AUTH}
|
||||
REGISTRY_USER: ${REGISTRY_USER}
|
||||
REGISTRY_PASSWORD: ${REGISTRY_PASSWORD}
|
||||
@@ -4,17 +4,21 @@ services:
|
||||
shepherd:
|
||||
#build: .
|
||||
image: containrrr/shepherd
|
||||
restart: unless-stopped
|
||||
|
||||
#restart: unless-stopped
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
network_mode: "host"
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
labels:
|
||||
- homepage.group=Services
|
||||
- homepage.name=Shepherd
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
SLEEP_TIME: ${SLEEP_TIME}
|
||||
WITH_REGISTRY_AUTH: ${WITH_REGISTRY_AUTH}
|
||||
REGISTRY_USER: ${REGISTRY_USER}
|
||||
REGISTRY_PASSWORD: ${REGISTRY_PASSWORD}
|
||||
TZ: Europe/Oslo
|
||||
SLEEP_TIME: 360m
|
||||
WITH_REGISTRY_AUTH: 'true'
|
||||
REGISTRY_USER: kbramberg
|
||||
REGISTRY_PASSWORD: askjfhKJ34Bsdjrt4387
|
||||
|
||||
|
||||
Reference in New Issue
Block a user