From 58f1058198075cac0bc18b3dcf810902d7397469 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Fri, 17 Jan 2025 02:03:02 +0100 Subject: [PATCH] added some explanation to document --- docs/DockerDeployment.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/DockerDeployment.md b/docs/DockerDeployment.md index ab3fd854..b728add6 100644 --- a/docs/DockerDeployment.md +++ b/docs/DockerDeployment.md @@ -103,13 +103,15 @@ data/ 1. Using with Ollama: ```env LLM_BINDING=ollama -LLM_BINDING_HOST=http://localhost:11434 +LLM_BINDING_HOST=http://host.docker.internal:11434 LLM_MODEL=mistral EMBEDDING_BINDING=ollama -EMBEDDING_BINDING_HOST=http://localhost:11434 +EMBEDDING_BINDING_HOST=http://host.docker.internal:11434 EMBEDDING_MODEL=bge-m3 ``` +you can't just use localhost from docker, that's why you need to use host.docker.internal which is defined in the docker compose file and should allow you to access the localhost services. + 2. Using with OpenAI: ```env LLM_BINDING=openai