From 7272e5458bd2a5b84d05b9477a58accab98a8255 Mon Sep 17 00:00:00 2001 From: myhomeiot Date: Thu, 20 Feb 2025 21:52:21 +0200 Subject: [PATCH 1/2] Add user/pass (if defined) to healthcheck --- transmission/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission/Dockerfile b/transmission/Dockerfile index 9bec521ee..020292d52 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -145,4 +145,4 @@ HEALTHCHECK \ --retries=5 \ --start-period=30s \ --timeout=25s \ - CMD curl -A "HealthCheck: Docker/1.0" -s -f "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" &>/dev/null || exit 1 + CMD curl -A "HealthCheck: Docker/1.0" -s -f $([ -n "${user}" ] && [ -n "${pass}" ] && echo "-u ${user}:${pass}") "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" &>/dev/null || exit 1 From 16dc7cddc3e41dfa50722a9d7f346b0031443780 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 20 Feb 2025 21:46:06 +0100 Subject: [PATCH 2/2] Trigger build --- transmission/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission/config.json b/transmission/config.json index 338de9967..388485167 100644 --- a/transmission/config.json +++ b/transmission/config.json @@ -131,5 +131,5 @@ "slug": "transmission_ls", "udev": true, "url": "https://github.com/alexbelgium/hassio-addons", - "version": "4.0.6-r0-ls272-2" + "version": "4.0.6-r0-ls272-3" }