# ansible managed # version: '3.3' services: watchtower: image: containrrr/watchtower volumes: - /var/run/docker.sock:/var/run/docker.sock - /etc/localtime:/etc/localtime:ro environment: - WATCHTOWER_SCHEDULE=0 0 4 * * * - WATCHTOWER_CLEANUP=true - WATCHTOWER_TIMEOUT=30s - WATCHTOWER_INCLUDE_RESTARTING=true - WATCHTOWER_ROLLING_RESTART=true - TZ="Europe/Berlin" restart: unless-stopped