mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 23:05:00 +00:00
feat: Add host.docker.internal gateway to enable Ollama server access from container
This commit is contained in:
parent
711102b438
commit
6a0a97cb41
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
docker run \
|
docker run \
|
||||||
-it --rm \
|
-it --rm \
|
||||||
|
--add-host=host.docker.internal:host-gateway \
|
||||||
-v `pwd`:/aider \
|
-v `pwd`:/aider \
|
||||||
-v `pwd`/tmp.benchmarks/.:/benchmarks \
|
-v `pwd`/tmp.benchmarks/.:/benchmarks \
|
||||||
-e OPENAI_API_KEY=$OPENAI_API_KEY \
|
-e OPENAI_API_KEY=$OPENAI_API_KEY \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue