Add healthckeck for plausible.
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user