Files
stacks/watchtower/compose.yml
T
2026-03-18 17:39:36 +01:00

22 lines
704 B
YAML

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"