Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Last active November 18, 2022 00:15
Show Gist options
  • Save dnburgess/68774594dc71cc52c0644a519f8c72e8 to your computer and use it in GitHub Desktop.
Save dnburgess/68774594dc71cc52c0644a519f8c72e8 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