Files
stacks/watchtower/compose.yml

23 lines
708 B
YAML
Raw Normal View History

---
services:
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
environment:
DOCKER_API_VERSION: "1.44"
WATCHTOWER_POLL_INTERVAL: 300
WATCHTOWER_LABEL_ENABLE: "true"
WATCHTOWER_CLEANUP: "true"
WATCHTOWER_INCLUDE_STOPPED: "false"
WATCHTOWER_INCLUDE_RESTARTING: "true"
WATCHTOWER_RUN_ONCE: "false"
WATCHTOWER_NOTIFICATIONS: ${NOTIFICATIONS:-}
WATCHTOWER_NOTIFICATION_URL: ${NOTIFICATION_URL:-}
WATCHTOWER_LOG_LEVEL: info
WATCHTOWER_ROLLING_RESTART: "false"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
labels:
- "com.centurylinklabs.watchtower.enable=true"