infra: Expose Ollama service via Traefik
Adds the `traefik.enable=true` tag to the `ollama` service definition within the `ai-backend` Nomad job. This enables Traefik to automatically discover and route incoming requests to the Ollama service, making it accessible through the Traefik ingress.
This commit is contained in:
@@ -49,6 +49,7 @@ job "ai-backend" {
|
|||||||
service {
|
service {
|
||||||
name = "ollama"
|
name = "ollama"
|
||||||
port = "api"
|
port = "api"
|
||||||
|
tags = ["traefik.enable=true"]
|
||||||
check {
|
check {
|
||||||
type = "http"
|
type = "http"
|
||||||
path = "/"
|
path = "/"
|
||||||
|
|||||||
Reference in New Issue
Block a user