# all # https://containrrr.dev/watchtower/ name: watchtower services: watchtower: container_name: watchtower image: containrrr/watchtower restart: unless-stopped hostname: ${HOST} volumes: - /var/run/docker.sock:/var/run/docker.sock - /etc/localtime:/etc/localtime:ro environment: - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin - WATCHTOWER_LABEL_ENABLE=true # - WATCHTOWER_NOTIFICATIONS=email # - WATCHTOWER_NOTIFICATION_EMAIL_FROM=admin@delmar.bzh # - WATCHTOWER_NOTIFICATION_EMAIL_SERVER=pro1.mail.ovh.net # - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587 # - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=admin@delmar.bzh # - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=sxS4GA8rBfmFkCFL # - WATCHTOWER_NOTIFICATION_EMAIL_TO=jme69@delmar.bzh - WATCHTOWER_NOTIFICATIONS=gotify - WATCHTOWER_NOTIFICATION_GOTIFY_URL=https://gotify.delmar.bzh - WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN=Av2fGA7BQQsoezO - WATCHTOWER_CLEANUP=true - WATCHTOWER_INCLUDE_RESTARTING=true # - WATCHTOWER_POLL_INTERVAL=86400 - WATCHTOWER_SCHEDULE=0 0 4 * * * labels: - com.centurylinklabs.watchtower.enable=true