services: watchtower: image: nickfedor/watchtower:latest container_name: watchtower restart: unless-stopped environment: - WATCHTOWER_SCHEDULE=0 0 3 * * * - WATCHTOWER_CLEANUP=true - WATCHTOWER_NOTIFICATIONS=email - WATCHTOWER_NOTIFICATION_EMAIL_FROM=mail@jens.pub - WATCHTOWER_NOTIFICATION_EMAIL_TO=mail@jens.pub - WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.mailbox.org - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587 - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=mail@jens.pub - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=${SMTP_PASSWORD} volumes: - /var/run/docker.sock:/var/run/docker.sock:ro networks: - proxy networks: proxy: external: true