25 lines
609 B
YAML
25 lines
609 B
YAML
#version: "3"
|
|
services:
|
|
|
|
shepherd:
|
|
#build: .
|
|
image: containrrr/shepherd
|
|
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
|
|
#homepage.href: https://portainer.home.ramberg.net/
|
|
environment:
|
|
TZ: ${TZ}
|
|
SLEEP_TIME: ${SLEEP_TIME}
|
|
WITH_REGISTRY_AUTH: ${WITH_REGISTRY_AUTH}
|
|
REGISTRY_USER: ${REGISTRY_USER}
|
|
REGISTRY_PASSWORD: ${REGISTRY_PASSWORD}
|