version: "3" services: watchtower: image: containrrr/watchtower container_name: watchtower restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock environment: - TZ=America/Chicago - WATCHTOWER_NOTIFICATIONS=email - WATCHTOWER_NOTIFICATION_EMAIL_FROM=jgitta@jgitta.com - WATCHTOWER_NOTIFICATION_EMAIL_TO=jgitta@jgitta.com - WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.fastmail.com - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587 - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=jgitta@jgitta.com - WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=2l79229z6r4y8x8y - WATCHTOWER_NOTIFICATIONS_LEVEL=info - WATCHTOWER_CLEANUP=true - WATCHTOWER_SCHEDULE=0 0 3 * * * - WATCHTOWER_ROLLING_RESTART=true - WATCHTOWER_ROLLING_RESTART_TIMEOUT=30s - WATCHTOWER_LABEL_ENABLE=true