ParisNeo commited on
Commit
51169bb
·
1 Parent(s): ebd093a

added some explanation to document

Browse files
Files changed (1) hide show
  1. docs/DockerDeployment.md +4 -2
docs/DockerDeployment.md CHANGED
@@ -103,13 +103,15 @@ data/
103
  1. Using with Ollama:
104
  ```env
105
  LLM_BINDING=ollama
106
- LLM_BINDING_HOST=http://localhost:11434
107
  LLM_MODEL=mistral
108
  EMBEDDING_BINDING=ollama
109
- EMBEDDING_BINDING_HOST=http://localhost:11434
110
  EMBEDDING_MODEL=bge-m3
111
  ```
112
 
 
 
113
  2. Using with OpenAI:
114
  ```env
115
  LLM_BINDING=openai
 
103
  1. Using with Ollama:
104
  ```env
105
  LLM_BINDING=ollama
106
+ LLM_BINDING_HOST=http://host.docker.internal:11434
107
  LLM_MODEL=mistral
108
  EMBEDDING_BINDING=ollama
109
+ EMBEDDING_BINDING_HOST=http://host.docker.internal:11434
110
  EMBEDDING_MODEL=bge-m3
111
  ```
112
 
113
+ 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.
114
+
115
  2. Using with OpenAI:
116
  ```env
117
  LLM_BINDING=openai