chore(media-centre): onboard to traefiks connect-enabled provider

This commit is contained in:
Ben Martin 2025-04-15 20:38:18 +00:00
parent 449105050a
commit 421abf5d5f
Signed by: ben
GPG key ID: 859A655FCD290E4A

View file

@ -97,6 +97,14 @@ job "media-centre" {
}
}
}
tags = [
"traefik.enable=true",
"traefik.http.routers.plex.entrypoints=websecure",
"traefik.http.routers.plex.rule=Host(`plex.brmartin.co.uk`)",
"traefik.consulcatalog.connect=true",
]
}
network {
@ -152,39 +160,4 @@ job "media-centre" {
}
}
}
group "plex-ingress-group" {
network {
mode = "bridge"
port "inbound" {
to = 8080
}
}
service {
port = "inbound"
tags = [
"traefik.enable=true",
"traefik.http.routers.plex.entrypoints=websecure",
"traefik.http.routers.plex.rule=Host(`plex.brmartin.co.uk`)"
]
connect {
gateway {
ingress {
listener {
port = 8080
protocol = "http"
service {
name = "media-centre-plex"
hosts = ["*"]
}
}
}
}
}
}
}
}