chore(ollama): onboard to traefiks connect-enabled provider
This commit is contained in:
parent
421abf5d5f
commit
34ee9682d0
1 changed files with 2 additions and 29 deletions
|
@ -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 = ["*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue