Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save koveseb/2d6660616dbfa9eda9ceeedfb859d3cf to your computer and use it in GitHub Desktop.
Save koveseb/2d6660616dbfa9eda9ceeedfb859d3cf to your computer and use it in GitHub Desktop.
DB Tech WatchTower on Pi 4
version: '2.1'
services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- TZ=America/Denver
- WATCHTOWER_MONITOR_ONLY=true
- WATCHTOWER_SCHEDULE=0 0 16 ? * THU
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_NOTIFICATIONS=email
- [email protected]
- [email protected]
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.gmail.com
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=password
- WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG=Pi Server Container Updates
- [email protected]
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment