webui
This commit is contained in:
1 parent
5409d41174
commit
0ed4469bb4
3 files changed
+24
No files matched your search
@@ -0,0 +1,2 @@
|
|||||||
|
OLLAMA_BASE_URL=http://192.168.100.237:11434
|
||||||
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
see .env
|
||||||
|
|
||||||
@@ -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://<laptop-ip>: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:
|
||||||
|
|
||||||
Reference in new issue
Block a user