Add back other traefik ports and metrics
This commit is contained in:
parent
6b5adbdf39
commit
198f96f3f7
@ -39,6 +39,8 @@ job "traefik" {
|
||||
static = 2222
|
||||
}
|
||||
|
||||
port "metrics" {}
|
||||
|
||||
dns {
|
||||
servers = [
|
||||
"192.168.2.101",
|
||||
@ -75,10 +77,20 @@ job "traefik" {
|
||||
]
|
||||
}
|
||||
|
||||
service {
|
||||
name = "traefik-metrics"
|
||||
provider = "nomad"
|
||||
port = "metrics"
|
||||
|
||||
tags = [
|
||||
"prometheus.scrape",
|
||||
]
|
||||
}
|
||||
|
||||
config {
|
||||
image = "traefik:2.10"
|
||||
|
||||
ports = ["web", "websecure"]
|
||||
ports = ["web", "websecure", "syslog", "gitssh", "metrics"]
|
||||
network_mode = "host"
|
||||
|
||||
mount {
|
||||
|
Loading…
Reference in New Issue
Block a user