--- services: watchtower: #command: --cleanup --label-enable --http-api-periodic-polls --http-api-metrics command: --cleanup --label-enable --http-api-update --http-api-metrics env_file: stack.env environment: WATCHTOWER_HTTP_API_TOKEN: l4c1j4yd33Du5lo WATCHTOWER_LABEL_ENABLE: 'true' WATCHTOWER_LIFECYCLE_HOOKS: 'true' WATCHTOWER_NOTIFICATIONS: email shoutrrr WATCHTOWER_NOTIFICATIONS_HOSTNAME: ${WT_HOSTNAME:-M-SERVER} WATCHTOWER_NOTIFICATIONS_LEVEL: debug WATCHTOWER_NOTIFICATION_EMAIL_DELAY: '2' WATCHTOWER_NOTIFICATION_EMAIL_FROM: sectorq77@gmail.com WATCHTOWER_NOTIFICATION_EMAIL_SERVER: smtp.gmail.com WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: uuhmmedfsjddmgbg WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: '465' WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: sectorq77 WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG: NewUpdates WATCHTOWER_NOTIFICATION_EMAIL_TO: jaydee@sectorq.eu WATCHTOWER_POLL_INTERVAL: 43200 extends: file: logging.yml service: ${LOGGING:-syslog} image: ${DOCKER_REGISTRY:-}containrrr/watchtower:latest labels: com.centurylinklabs.watchtower.enable: 'true' homepage.container: watchtower-watchtower-1 homepage.description: Docker container monitoring homepage.group: Infrastructure homepage.href: http://192.168.77.101:8094 homepage.icon: watchtower.png homepage.name: Watchtower homepage.server: my-docker homepage.weight: '100' homepage.widget.key: l4c1j4yd33Du5lo homepage.widget.type: watchtower homepage.widget.url: http://192.168.77.101:8094 wud.watch: true wud.watch.digest: true ports: - 8094:8080 restart: ${RESTART:-unless-stopped} volumes: - /var/run/docker.sock:/var/run/docker.sock - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - /share/docker_data/watchtower/.docker/config.json:/config.json