services: watchtower: image: containrrr/watchtower:latest container_name: watchtower restart: unless-stopped environment: - TZ=${TZ:-Europe/Berlin} - WATCHTOWER_CLEANUP=true - WATCHTOWER_INCLUDE_RESTARTING=true - WATCHTOWER_SCHEDULE=${SCHEDULE:-0 0 4 * * *} # Report only, never pull: set to true for a dry run. - WATCHTOWER_MONITOR_ONLY=${MONITOR_ONLY:-false} # e.g. shoutrrr URL for ntfy/Gotify/Discord notifications - WATCHTOWER_NOTIFICATION_URL=${NOTIFICATION_URL:-} volumes: - /var/run/docker.sock:/var/run/docker.sock