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
{{ message }}
Repository navigation
Commit bd6c827
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/docs/content/docs/platform/self-hosting/docker.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ For production, keep this Compose stack and point `OLLAMA_URL` at an Ollama serv
147
147
OLLAMA_URL=http://host.docker.internal:11434
148
148
```
149
149
150
-
Production Compose maps `host.docker.internal` to the host gateway, including on Linux. You can instead use a reachable host IP. The Ollama server must listen on an interface reachable from the container.
150
+
Production Compose maps `host.docker.internal` to the host gateway, including on Linux. You can instead use a reachable host IP. The Ollama server must listen on an interface reachable from the container. On Linux, bind it to the Docker bridge address that `host.docker.internal` resolves to, usually `OLLAMA_HOST=172.17.0.1:11434` (check with `ip -4 addr show docker0`). Ollama's API has no authentication, so listen on `0.0.0.0` only behind a firewall that blocks port 11434 from outside the host.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/platform/self-hosting/troubleshooting.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,6 +193,8 @@ Inside Docker, `localhost` = the container, not your host machine.
193
193
OLLAMA_URL=http://host.docker.internal:11434
194
194
```
195
195
196
+
On Linux, Ollama must also listen where the container reaches the host: bind it to the Docker bridge address, usually `OLLAMA_HOST=172.17.0.1:11434`. Its API has no authentication, so do not bind `0.0.0.0` unless a firewall blocks port 11434 from outside the host.
197
+
196
198
## LM Studio requests route to Ollama
197
199
198
200
Sim identifies dynamically discovered LM Studio and vLLM models by their `vllm/` prefix. If the endpoint is unavailable and you manually enter the raw LM Studio model identifier, Sim treats that unknown identifier as an Ollama model.
0 commit comments