From d42427aa2baf6be7646d4253f820f1bc7b73840e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kov=C3=A1cs=20Zolt=C3=A1n?= Date: Mon, 28 Sep 2026 16:31:46 +0200 Subject: [PATCH] The watchtower_redeploy script now defines Shoutrrr URLs to send notifications. --- .metadata | Bin 22778 -> 22778 bytes .templates/bin/watchtower_redeploy | 10 ++-------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.metadata b/.metadata index fa1f92205832aed2ec6b54142e75cdf8d553973d..fbe455a12fb22b87f88c491472a54c88500fccf7 100644 GIT binary patch delta 136 zcmeyhk@43?#tq9jc)Y{~vKWBi$pS`!$&CWqlLOfJCvULe-Tadyn}z3J#V)Yy8nryb z$$_CFlN*?XH&5q%#>ck@q z2ZoAFZeSALJe~I$FV788fh>?dw<(J3lQ+tUO-^7D+q_l!sJLKB>142pAXyN2GntW3 dV)6wQ_RXt|n|M$)9%Rv<{6I!%bEQM01OPEqEtvoS diff --git a/.templates/bin/watchtower_redeploy b/.templates/bin/watchtower_redeploy index 4cc697f..6864424 100755 --- a/.templates/bin/watchtower_redeploy +++ b/.templates/bin/watchtower_redeploy @@ -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 \