The watchtower_redeploy script now defines Shoutrrr URLs to send notifications.
This commit is contained in:
@@ -46,14 +46,8 @@ $DOCKER create \
|
|||||||
-e WATCHTOWER_NO_PULL=false \
|
-e WATCHTOWER_NO_PULL=false \
|
||||||
-e WATCHTOWER_SCHEDULE="0 0 1 * * *" \
|
-e WATCHTOWER_SCHEDULE="0 0 1 * * *" \
|
||||||
-e WATCHTOWER_WARN_ON_HEAD_FAILURE="never" \
|
-e WATCHTOWER_WARN_ON_HEAD_FAILURE="never" \
|
||||||
-e WATCHTOWER_NOTIFICATIONS=email \
|
-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_EMAIL_FROM="$USER@$(hostname -f)" \
|
-e WATCHTOWER_NOTIFICATION_TITLE_TAG="[Watchtower $(hostname)]" \
|
||||||
-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")]" \
|
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
--add-host="host.docker.internal:host-gateway" \
|
--add-host="host.docker.internal:host-gateway" \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
|
|||||||
Reference in New Issue
Block a user