fix: add OLLAMA_BASE_URL for openwebui, gitignore .env
Ollama runs on port 11436, not the default 11434. Add explicit OLLAMA_BASE_URL=http://host.docker.internal:11436 so open-webui finds the models. Also gitignore .env (holds ANTHROPIC_API_KEY). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1
openwebui/.gitignore
vendored
Normal file
1
openwebui/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.env
|
||||||
@@ -18,6 +18,7 @@ services:
|
|||||||
capabilities: [gpu]
|
capabilities: [gpu]
|
||||||
environment:
|
environment:
|
||||||
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
||||||
|
- OLLAMA_BASE_URL=http://host.docker.internal:11436
|
||||||
- OPENAI_API_BASE_URL=http://host.docker.internal:4000/v1
|
- OPENAI_API_BASE_URL=http://host.docker.internal:4000/v1
|
||||||
- OPENAI_API_KEY=dummy
|
- OPENAI_API_KEY=dummy
|
||||||
# STT — Faster-Whisper large-v3-turbo
|
# STT — Faster-Whisper large-v3-turbo
|
||||||
|
|||||||
Reference in New Issue
Block a user