From 808c3ee2543d19725ce68a249d87c97d98c4e714 Mon Sep 17 00:00:00 2001 From: Alvis Date: Thu, 11 Jun 2026 05:13:58 +0000 Subject: [PATCH] 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 --- openwebui/.gitignore | 1 + openwebui/docker-compose.yml | 1 + 2 files changed, 2 insertions(+) create mode 100644 openwebui/.gitignore diff --git a/openwebui/.gitignore b/openwebui/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/openwebui/.gitignore @@ -0,0 +1 @@ +.env diff --git a/openwebui/docker-compose.yml b/openwebui/docker-compose.yml index 0a28c66..1e80e39 100644 --- a/openwebui/docker-compose.yml +++ b/openwebui/docker-compose.yml @@ -18,6 +18,7 @@ services: capabilities: [gpu] environment: - 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_KEY=dummy # STT — Faster-Whisper large-v3-turbo