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 0 19 * * * #- WATCHTOWER_MONITOR_ONLY=true - 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