docker/watchtower/watchtower.yml

24 lines
678 B
YAML

services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --debug
environment:
WATCHTOWER_SCHEDULE: "0 0 9 * * 0"
WATCHTOWER_CLEANUP: false
WATCHTOWER_DISABLE_CONTAINERS: "gitea postgres"
TZ: "America/New_York"
WATCHTOWER_NO_STARTUP_MESSAGE: true
WATCHTOWER_TIMEOUT: 30s
WATCHTOWER_NOTIFICATION_SKIP_TITLE: true
WATCHTOWER_NOTIFICATION_URL: "ntfy://:token_goes_here@ntfy.meftimes.com/alerts?title=Watchtower&priority=high"
networks:
- proxy
restart: unless-stopped
networks:
proxy:
external: true