Fix use of wrong port in traefik service definition

This commit is contained in:
2025-05-28 00:05:46 +10:00
parent 525e0eaf9f
commit 8920be1ba0

View File

@@ -16,6 +16,7 @@ job "traefik" {
service { service {
name = "traefik" name = "traefik"
port = "api"
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
@@ -28,7 +29,7 @@ job "traefik" {
check { check {
name = "alive" name = "alive"
type = "tcp" type = "tcp"
port = "http" port = "api"
interval = "10s" interval = "10s"
timeout = "2s" timeout = "2s"
} }
@@ -130,7 +131,7 @@ http:
consul-ui: consul-ui:
rule: "Host(`consul.othrayte.one`)" rule: "Host(`consul.othrayte.one`)"
service: consul-ui service: consul-ui
middlewares: middlewares:
- auth - auth
unraid: unraid:
rule: "Host(`unraid.othrayte.one`)" rule: "Host(`unraid.othrayte.one`)"