--- # Watchtower # Docker Image Updater & Notifications # Created by containrrr # ↳ https://github.com/containrrr/watchtower services: watchtower: image: containrrr/watchtower:latest container_name: watchtower restart: unless-stopped networks: - proxy environment: PUID: 1000 PGID: 1000 WATCHTOWER_MONITOR_ONLY: true WATCHTOWER_NOTIFICATIONS: email WATCHTOWER_NOTIFICATION_EMAIL_FROM: ${WATCHTOWER_NOTIFICATION_EMAIL_FROM} WATCHTOWER_NOTIFICATION_EMAIL_TO: ${WATCHTOWER_NOTIFICATION_EMAIL_TO} WATCHTOWER_NOTIFICATION_EMAIL_SERVER: ${WATCHTOWER_NOTIFICATION_EMAIL_SERVER} WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: ${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT} WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: ${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER} WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: ${WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD} WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 3 volumes: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - /var/run/docker.sock:/var/run/docker.sock networks: proxy: external: true # Documentation available at https://containrrr.dev/watchtower/