From 44d0b9918b8f523f985e9140b23fe61c56795d29 Mon Sep 17 00:00:00 2001 From: Adrian Barrio Date: Thu, 10 Oct 2024 10:44:00 +0200 Subject: [PATCH] feat: add transmission healhcheck --- templates/compose/transmission.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/templates/compose/transmission.yaml b/templates/compose/transmission.yaml index 3a0d05c32..76f8bad47 100644 --- a/templates/compose/transmission.yaml +++ b/templates/compose/transmission.yaml @@ -11,3 +11,15 @@ services: - "config:/config" - "downloads:/downloads" - "watch:/watch" + healthcheck: + test: [ + "CMD", + "curl", + "-sSfL", + "-u", + "${SERVICE_USER_ADMIN}:${SERVICE_PASSWORD_ADMIN}", + "http://localhost:9091/" + ] + interval: 30s + timeout: 10s + retries: 3 \ No newline at end of file