Closed wwjCMP closed 1 month ago
Do you see "Ollama is running" when you visit http://localhost:11434/?
I use a remote service http://192.168.101.19:11434 And I don't see Ollama receiving any requests
Is your .env set to: OLLAMA_HOST=http://192.168.101.19:11434
Is your .env set to: OLLAMA_HOST=http://192.168.101.19:11434
services: backend: build: context: . dockerfile: ./src/backend/Dockerfile.dev restart: always ports:
Don't change the OLLAMA_HOST in compose. Instead, change it in the .env file.
This is mostly a docker networking issue. You will have to play around with docker networks to provide access to the host networking. Try removing extra_hosts
, since your Ollama is on a different device. .
services: backend: build: context: . dockerfile: ./src/backend/Dockerfile.dev restart: always ports:
TAVILY_API_KEY=t OLLAMA_HOST=http://192.168.101.19:11434
I don't have access to http://192.168.101.19:11434, but can you confirm that Ollama is running on the server?
P.S. Just to let you know, edit history is public on GitHub. You might want to disable your Tavily API key :)