From c2d2f9f1498198193162ad23c48c95df144b976a Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Fri, 1 Sep 2023 17:09:10 +0100 Subject: [PATCH] Add healthckeck for plausible. --- services/plausible.hcl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/services/plausible.hcl b/services/plausible.hcl index 02000fb..06e2dc8 100644 --- a/services/plausible.hcl +++ b/services/plausible.hcl @@ -35,6 +35,13 @@ job "plausible" { service { name = "plausible" port = "http" + check { + type = "http" + port = "http" + path = "/api/health" + interval = "30s" + timeout = "5s" + } tags = [ "traefik.enable=true", "traefik.http.routers.plausible.entryPoints=websecure",