You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've added Environment="OLLAMA_HOST=0.0.0.0" to the ollama.service file, daemon-reload and restart. Changed config.toml to reflect the IP:Port of the Ollama host URL.
If I attach to the perplixica_backend container, install curl and run:
curl http://<IP_of_Ollama_Host>:11434/api/generate -d '{ "model": "llama3.2", "prompt": "Why is the sky blue?" }'
I get the appropriate response back from the ollama service.
But I still get errors in the docker log for Ollama connection from the backend container.
I've added
Environment="OLLAMA_HOST=0.0.0.0"
to the ollama.service file, daemon-reload and restart. Changed config.toml to reflect the IP:Port of the Ollama host URL.If I attach to the perplixica_backend container, install curl and run:
curl http://<IP_of_Ollama_Host>:11434/api/generate -d '{ "model": "llama3.2", "prompt": "Why is the sky blue?" }'
I get the appropriate response back from the ollama service.
But I still get errors in the docker log for Ollama connection from the backend container.
perplexica-backend_1 | error: Unhandled Rejection at: [object Promise], reason: TypeError [ERR_INVALID_URL]: Invalid URL
Perplexed.
The text was updated successfully, but these errors were encountered: