Update LocalLLMs.md (#1267)

This commit is contained in:
Andrii Stadnik
2024-04-21 22:23:19 +03:00
committed by GitHub
parent 7bd5417b95
commit 900de8728c

View File

@@ -32,7 +32,7 @@ But when running `docker run`, you'll need to add a few more arguments:
```bash
--add-host host.docker.internal=host-gateway \
-e LLM_API_KEY="ollama" \
-e LLM_BASE_URL="http://localhost:11434" \
-e LLM_BASE_URL="http://host.docker.internal:11434" \
```
For example:
@@ -44,7 +44,7 @@ export WORKSPACE_DIR=$(pwd)/workspace
docker run \
--add-host host.docker.internal=host-gateway \
-e LLM_API_KEY="ollama" \
-e LLM_BASE_URL="http://localhost:11434" \
-e LLM_BASE_URL="http://host.docker.internal:11434" \
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_DIR \
-v $WORKSPACE_DIR:/opt/workspace_base \
-v /var/run/docker.sock:/var/run/docker.sock \