diff --git a/.metadata b/.metadata index fa1f922..fbe455a 100644 Binary files a/.metadata and b/.metadata differ 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 \