Last active
November 10, 2020 12:02
-
-
Save marlluslustosa/23c21d5fa92d83743edda1b0056abb8c to your computer and use it in GitHub Desktop.
watchtower.yml
This file contains hidden or 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
docker run -d \ | |
--name watchtower \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-e WATCHTOWER_NOTIFICATIONS=email \ | |
-e WATCHTOWER_NOTIFICATION_EMAIL_FROM=fromaddresssengrid@example.com \ | |
-e [email protected] \ | |
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.sendgrid.net \ | |
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587 \ | |
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=apikey \ | |
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=tokensendgrid \ | |
-e WATCHTOWER_NOTIFICATION_EMAIL_DELAY=2 \ | |
containrrr/watchtower |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment