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.
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.
The `OLLAMA_HOST` environment variable in the `ai-backend` Nomad job has been updated from `0.0.0.0` to `0.0.0.0:11434`.
This change ensures OLLAMA explicitly binds to the correct address and port, preventing potential connectivity issues or misconfigurations where the port might be omitted or incorrectly inferred.