From fc7bf04a9c23954dd7c245a82bf30b880fe8f4db Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Sat, 12 Apr 2025 13:31:25 +0200 Subject: [PATCH] jitsi: health check videobridge --- cluster/prod/app/jitsi/deploy/jitsi.hcl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/cluster/prod/app/jitsi/deploy/jitsi.hcl b/cluster/prod/app/jitsi/deploy/jitsi.hcl index fea55d7..2cb0f08 100644 --- a/cluster/prod/app/jitsi/deploy/jitsi.hcl +++ b/cluster/prod/app/jitsi/deploy/jitsi.hcl @@ -260,6 +260,19 @@ EOF port = "video_port" address_mode = "host" name = "video-jitsi" + check { + type = "http" + protocol = "http" + port = "management_port" + path = "/about/health" + interval = "60s" + timeout = "5s" + check_restart { + limit = 3 + grace = "600s" + ignore_warnings = false + } + } } service {