The watchtower_redeploy script now defines Shoutrrr URLs to send notifications.

This commit is contained in:
Kovács Zoltán
2026-09-28 16:31:46 +02:00
parent 627a8f81b3
commit d42427aa2b
2 changed files with 2 additions and 8 deletions
+2 -8
View File
@@ -46,14 +46,8 @@ $DOCKER create \
-e WATCHTOWER_NO_PULL=false \
-e WATCHTOWER_SCHEDULE="0 0 1 * * *" \
-e WATCHTOWER_WARN_ON_HEAD_FAILURE="never" \
-e WATCHTOWER_NOTIFICATIONS=email \
-e WATCHTOWER_NOTIFICATION_EMAIL_FROM="$USER@$(hostname -f)" \
-e WATCHTOWER_NOTIFICATION_EMAIL_TO="$USER@$(hostname)" \
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER="host.docker.internal" \
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=25 \
-e WATCHTOWER_NOTIFICATION_EMAIL_SERVER_TLS_SKIP_VERIFY=true \
-e WATCHTOWER_NOTIFICATION_EMAIL_DELAY=15 \
-e WATCHTOWER_NOTIFICATION_EMAIL_SUBJECTTAG="[Watchtower $("$HOSTNAME")]" \
-e WATCHTOWER_NOTIFICATION_URL="smtp://host.docker.internal:25/?auth=None&encryption=None&usehtml=No&usestarttls=No&timeout=10s&fromaddress=$USER@$(hostname -f)&fromname=Watchtower&toaddresses=$USER@$(hostname)" \
-e WATCHTOWER_NOTIFICATION_TITLE_TAG="[Watchtower $(hostname)]" \
-v /var/run/docker.sock:/var/run/docker.sock \
--add-host="host.docker.internal:host-gateway" \
--restart unless-stopped \