Skip to content

Instantly share code, notes, and snippets.

@Taubin
Created July 8, 2023 10:18
Show Gist options
  • Select an option

  • Save Taubin/406bf869e91d45c6a44c70db6e6b0a7b to your computer and use it in GitHub Desktop.

Select an option

Save Taubin/406bf869e91d45c6a44c70db6e6b0a7b to your computer and use it in GitHub Desktop.
Matrix watchtower notification
docker run -d \
--name watchtower \
-v /var/run/docker.sock:/var/run/docker.sock \
-e WATCHTOWER_NOTIFICATION_URL=matrix://username:password@domain.org/?rooms=!ROOMID:domain.org \
-e WATCHTOWER_NOTIFICATION_TEMPLATE="{{range .}}[WatchTower] ({{.Level}}): {{.Message}}{{println}}{{end}}" \
containrrr/watchtower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment