BrainDock/compose_watchtower.yaml

18 lines
634 B
YAML

version: "3.9"
services:
watchtower:
image: containrrr/watchtower:latest
container_name: watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
# Täglicher Check um 04:00 Uhr
- WATCHTOWER_SCHEDULE=0 0 4 * * *
# Container bei Update automatisch neu starten
- WATCHTOWER_INCLUDE_RESTARTING=true
# Telegram Notifications
- WATCHTOWER_NOTIFICATIONS=shoutrrr
# Token so einfügen, dass kein Doppelpunkt Probleme macht
- WATCHTOWER_NOTIFICATION_URL=telegram://7216539099AAH6tptIs-TUpSOtCQmxMWCpgAsPCGgbNeo/7646180954