Add back other traefik ports and metrics

This commit is contained in:
IamTheFij 2024-02-13 12:03:03 -08:00
parent 6b5adbdf39
commit 198f96f3f7

View File

@ -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 {