From 0ed4469bb4b8ccb7bd87591bf3ac86ad7fd92a9b Mon Sep 17 00:00:00 2001 From: wvr Date: Thu, 26 Nov 2026 05:29:21 -0600 Subject: [PATCH] webui --- open-webui/.env | 2 ++ open-webui/README.md | 2 ++ open-webui/docker-compose.yml | 20 ++++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 open-webui/.env create mode 100644 open-webui/README.md create mode 100644 open-webui/docker-compose.yml diff --git a/open-webui/.env b/open-webui/.env new file mode 100644 index 0000000..1b583f2 --- /dev/null +++ b/open-webui/.env @@ -0,0 +1,2 @@ +OLLAMA_BASE_URL=http://192.168.100.237:11434 + diff --git a/open-webui/README.md b/open-webui/README.md new file mode 100644 index 0000000..d1feda7 --- /dev/null +++ b/open-webui/README.md @@ -0,0 +1,2 @@ +see .env + diff --git a/open-webui/docker-compose.yml b/open-webui/docker-compose.yml new file mode 100644 index 0000000..1ed617d --- /dev/null +++ b/open-webui/docker-compose.yml @@ -0,0 +1,20 @@ +services: + open-webui: + image: ghcr.io/open-webui/open-webui:main + container_name: open-webui + restart: always + ports: + - "3000:8080" + environment: + # SSH tunnel (Option A): keep host.docker.internal + # LAN (Option B): set OLLAMA_BASE_URL=http://:11434 in a .env file next to this one + - OLLAMA_BASE_URL=${OLLAMA_BASE_URL:-http://host.docker.internal:11434} + extra_hosts: + # makes host.docker.internal resolve on Linux too (already works on Docker Desktop) + - "host.docker.internal:host-gateway" + volumes: + - open-webui:/app/backend/data + +volumes: + open-webui: +