From b2978cb4efef79aedd053106549a48a3ac2d2617 Mon Sep 17 00:00:00 2001 From: Ben Martin Date: Thu, 6 Mar 2025 20:10:08 +0000 Subject: [PATCH] chore(media-centre): add health check configuration for jellyfin service --- modules/media-centre/jobspec.nomad.hcl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/media-centre/jobspec.nomad.hcl b/modules/media-centre/jobspec.nomad.hcl index 545bf08..b0fcb8d 100644 --- a/modules/media-centre/jobspec.nomad.hcl +++ b/modules/media-centre/jobspec.nomad.hcl @@ -58,6 +58,13 @@ job "media-centre" { "traefik.http.routers.jellyfin.entrypoints=websecure", "traefik.http.routers.jellyfin.rule=Host(`jellyfin.brmartin.co.uk`)" ] + + check { + type = "http" + path = "/health" + interval = "5s" + timeout = "2s" + } } network {