Files
docker/watchtower/docker-compose.yml
2024-08-16 08:21:03 +00:00

26 lines
897 B
YAML

services:
watchtower:
container_name: watchtower
image: containrrr/watchtower
environment:
- WATCHTOWER_NOTIFICATIONS=gotify
- WATCHTOWER_NOTIFICATION_GOTIFY_URL=https://gotify.borgal.de
- WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN=AlsHK7YQ17in5Ns
- WATCHTOWER_WARN_ON_HEAD_FAILURE=auto #always, auto, never, stand auf never
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_SCHEDULE=0 00 19 * * *
- WATCHTOWER_INCLUDE_RESTARTING=true
- WATCHTOWER_ROLLING_RESTART=true
- WATCHTOWER_INCLUDE_STOPPED=true
- TZ=Europe/Berlin
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
#command: --monitor-only --schedule "0 09 22 * * *"
#command: --rolling-restart --schedule "0 15 19 * * *" --cleanup --include-restarting --include-stopped
restart: unless-stopped