Prometheus metrics for authentik.

This commit is contained in:
2023-08-16 15:16:10 +01:00
parent 6bb31d9286
commit 35ac7c7ad6

View File

@@ -9,6 +9,9 @@ job "authentik" {
port "https" {
to = 9443
}
port "metrics" {
to = 9300
}
}
task "server" {
@@ -18,7 +21,8 @@ job "authentik" {
image = "ghcr.io/goauthentik/server:2023.6.1"
ports = [
"http",
"https"
"https",
"metrics"
]
command = "server"
}
@@ -47,6 +51,11 @@ job "authentik" {
"traefik.http.routers.authentik.entryPoints=websecure",
]
}
service {
name = "authentik-metrics"
port = "metrics"
tags = [ "metrics" ]
}
}
task "worker" {