Add healthckeck for plausible.

This commit is contained in:
2023-09-01 17:09:10 +01:00
parent 02edc6c5f2
commit c2d2f9f149

View File

@@ -35,6 +35,13 @@ job "plausible" {
service { service {
name = "plausible" name = "plausible"
port = "http" port = "http"
check {
type = "http"
port = "http"
path = "/api/health"
interval = "30s"
timeout = "5s"
}
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.plausible.entryPoints=websecure", "traefik.http.routers.plausible.entryPoints=websecure",