fix(ai-backend): Configure Ollama service with host address mode

The `ollama` service in the `ai-backend` Nomad job has been updated to use `address_mode = "host"`. This ensures the service is registered with the host's IP address in Consul, allowing external proxies like Traefik to correctly route traffic. This change resolves potential connectivity issues by making the service directly accessible via the host network.
This commit is contained in:
2025-12-29 00:48:56 -05:00
parent 00a7fba22b
commit 69dd29b3a1

View File

@@ -50,6 +50,7 @@ job "ai-backend" {
name = "ollama" name = "ollama"
port = "api" port = "api"
tags = ["traefik.enable=true"] tags = ["traefik.enable=true"]
address_mode = "host"
check { check {
type = "http" type = "http"
path = "/" path = "/"