Forked from dnburgess/gist:68774594dc71cc52c0644a519f8c72e8
Created
March 29, 2021 06:22
-
-
Save koveseb/2d6660616dbfa9eda9ceeedfb859d3cf to your computer and use it in GitHub Desktop.
DB Tech WatchTower on Pi 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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