Files
docker/watchtower/docker-compose.yml
2023-01-29 15:04:05 +01:00

23 lines
663 B
YAML

version: "3"
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=never
- 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