open-webui: reach the LLM via the host LAN IP, not the bridge gateway
The bridge gateway (10.89.3.1) lives in the rootless netns; llama-server runs in the host netns, so the gateway refuses. 192.168.0.143:52625 reaches it through the rootless NAT (verified from the container). Same LAN-IP pattern the doc already prescribes for the Dankserver backend.
This commit is contained in:
1 parent
0951fc165c
commit
c66273033b
4 files changed
+21
-15
No files matched your search
@@ -58,12 +58,14 @@ QDIR="$REPO_ROOT/dankclaw/open-webui/quadlet"
|
||||
|| { echo "open-webui.container must publish 3005:8080"; return 1; }
|
||||
}
|
||||
|
||||
@test "open-webui points its LLM at the live vLLM backend (52625) via the bridge gateway" {
|
||||
# host.containers.internal is a slirp4netns-only name. On the bridge,
|
||||
# the host's 0.0.0.0-bound services are reached via the gateway IP.
|
||||
grep -qE '^Environment=OPENAI_API_BASE_URL=http://10\.89\.3\.1:52625' \
|
||||
@test "open-webui points its LLM at the live vLLM backend (52625) via the host LAN IP" {
|
||||
# host.containers.internal is a slirp4netns-only name. The bridge
|
||||
# gateway (10.89.3.1) lives in the rootless netns, NOT the host netns
|
||||
# where llama-server runs -- it refuses. The host's LAN IP reaches it
|
||||
# through the rootless NAT (verified from the container, 2026-08-22).
|
||||
grep -qE '^Environment=OPENAI_API_BASE_URL=http://192\.168\.0\.143:52625' \
|
||||
"$QDIR/open-webui.container" \
|
||||
|| { echo "open-webui.container must set OPENAI_API_BASE_URL to the vLLM on the bridge gateway 10.89.3.1:52625"; return 1; }
|
||||
|| { echo "open-webui.container must set OPENAI_API_BASE_URL to the vLLM at 192.168.0.143:52625"; return 1; }
|
||||
}
|
||||
|
||||
@test "open-webui persists its data under /home/dank/Containers/open-webui/data" {
|
||||
|
||||
Reference in new issue
Block a user