Create Watchtower HomeBox Notif Discord

master
Aerya 2 months ago
parent 8022ab947f
commit d33442cd36
  1. 16
      Watchtower HomeBox Notif Discord

@ -0,0 +1,16 @@
docker run -d \
--name watchtower \
--hostname "HomeBox" \
-e TZ=Europe/Paris \
--restart always \
-v /var/run/docker.sock:/var/run/docker.sock \
-e WATCHTOWER_NOTIFICATIONS=shoutrrr \
-e WATCHTOWER_NOTIFICATION_URL="discord://aaa@bbb" \
-e WATCHTOWER_NOTIFICATION_TEMPLATE="{{range .}}({{.Level}}): {{.Message}}{{println}}{{end}}" \
--label=com.centurylinklabs.watchtower.enable=true \
containrrr/watchtower --label-enable --cleanup --rolling-restart --schedule "0 0 4 * * *"
https://discordapp.com/api/webhooks/webhookid/token
=>
discord://token@webhookid
Loading…
Cancel
Save