Watchtower fun with gotify for notifications

mkdir -p /opt/watchtower && cd /opt/watchtower

version: "3"
services:
  watchtower:
    image: containrrr/watchtower
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - WATCHTOWER_CLEANUP=true
      #- WATCHTOWER_LABEL_ENABLE=true
      - WATCHTOWER_INCLUDE_RESTARTING=true
      - WATCHTOWER_NOTIFICATIONS=gotify
      - WATCHTOWER_NOTIFICATION_GOTIFY_URL=https://push.domain.com
      - WATCHTOWER_NOTIFICATION_GOTIFY_TOKEN=
      - TZ=America/New_York
      #- WATCHTOWER_POLL_INTERVAL=86400
      - WATCHTOWER_HTTP_API_METRICS=true
      - WATCHTOWER_HTTP_API_TOKEN=
      - WATCHTOWER_SCHEDULE=0 0 0 * * *
    restart: unless-stopped