25 lines
536 B
YAML
25 lines
536 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
|
|
environment:
|
|
TZ: Europe/Oslo
|
|
SLEEP_TIME: 360m
|
|
WITH_REGISTRY_AUTH: 'true'
|
|
REGISTRY_USER: kbramberg
|
|
REGISTRY_PASSWORD: askjfhKJ34Bsdjrt4387
|
|
|