chore(ollama): onboard to traefiks connect-enabled provider
All checks were successful
Lint / lint (push) Successful in 2m31s
Terraform Plan and Apply / cicd (push) Successful in 1m52s

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

View file

@ -133,41 +133,14 @@ job "ollama" {
}
}
}
}
}
group "open-webui-ingress-group" {
network {
mode = "bridge"
port "inbound" {
to = 8080
}
}
service {
port = "inbound"
tags = [
"traefik.enable=true",
"traefik.http.routers.openwebui.rule=Host(`eos.brmartin.co.uk`)",
"traefik.http.routers.openwebui.entrypoints=websecure"
"traefik.http.routers.openwebui.entrypoints=websecure",
"traefik.consulcatalog.connect=true",
]
connect {
gateway {
ingress {
listener {
port = 8080
protocol = "http"
service {
name = "ollama-open-webui"
hosts = ["*"]
}
}
}
}
}
}
}
}