Prometheus metrics for authentik.
This commit is contained in:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user