Skip to content

Instantly share code, notes, and snippets.

@marlluslustosa
Last active November 10, 2020 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marlluslustosa/23c21d5fa92d83743edda1b0056abb8c to your computer and use it in GitHub Desktop.
Save marlluslustosa/23c21d5fa92d83743edda1b0056abb8c to your computer and use it in GitHub Desktop.
watchtower.yml
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 WATCHTOWER_NOTIFICATION_EMAIL_TO=toaddress@example.com \
-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