From c1d80690550bbb49fa68295fb2ecaee438d346a4 Mon Sep 17 00:00:00 2001 From: myhomeiot Date: Fri, 21 Feb 2025 13:17:33 +0200 Subject: [PATCH 1/2] Fix user/pass (if defined) to healthcheck --- transmission/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transmission/Dockerfile b/transmission/Dockerfile index 020292d52..d69c47328 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -141,8 +141,8 @@ RUN \ ENV HEALTH_PORT="9091" \ HEALTH_URL="" HEALTHCHECK \ - --interval=5s \ + --interval=1m \ --retries=5 \ --start-period=30s \ --timeout=25s \ - 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 + CMD curl -A "HealthCheck: Docker/1.0" -s -f $(source ~/.bashrc && [ -n "${user}" ] && [ -n "${pass}" ] && echo "-u ${user}:${pass}") "http://127.0.0.1:${HEALTH_PORT}${HEALTH_URL}" &>/dev/null || exit 1 From 107502602251521ec9674f047653d9dc13bc16a1 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 21 Feb 2025 12:57:10 +0100 Subject: [PATCH 2/2] Update config.json --- transmission/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transmission/config.json b/transmission/config.json index 388485167..422c6f829 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-3" + "version": "4.0.6-r0-ls272-4" }