llm, fixed intranet issue, stop using host network for open webui & terminal.

This commit is contained in:
me committed 2026-10-28 19:42:05 -07:00
1 parent 4fbf7b41e4
commit bede2b84f3
1 file changed
+5 -19
+5 -19
View File
@@ -435,29 +435,15 @@
set -e set -e
exec docker run \ exec docker run \
--name open-webui \ --name open-webui \
--network=host -e PORT={{ open_webui_port }} \ -e PORT={{ open_webui_port }} \
-p {{ open_webui_port }}:{{ open_webui_port }} \
--add-host=host.docker.internal:host-gateway \
-e OLLAMA_BASE_URL=http://0.0.0.0:11434 \ -e OLLAMA_BASE_URL=http://0.0.0.0:11434 \
{{ ("-e HF_TOKEN=" ~ hf_token) if hf_token else '' }} \ {{ ("-e HF_TOKEN=" ~ hf_token) if hf_token else '' }} \
-e WEBUI_SECRET_KEY={{ open_webui_key }} \ -e WEBUI_SECRET_KEY={{ open_webui_key }} \
-e ENABLE_QUERIES_CACHE=True \ -e ENABLE_QUERIES_CACHE=True \
-v open-webui:/app/backend/data \ -v open-webui:/app/backend/data \
$image $image
# Unsure why this was not working on Artix with runit.
# exec curl 0.0.0.0:8080/health gave a successful response.
# The environment was not accessible on the host though.
#-p {{ open_webui_port }}:8080 \
# The host.docker.internal params still seem required, even with
# giving access to the host system and trying this:
#-e OLLAMA_BASE_URL=http://localhost:11434 \
# Although I did not try it with 0.0.0.0, maybe that'd work.
# Had to change this to 0.0.0.0, below was still acting weird.
#-e OLLAMA_BASE_URL=http://host.docker.internal:11434 \
# 20261020, trying to remove this again while leaving the rest.
#--add-host=host.docker.internal:host-gateway \
mode: "0755" mode: "0755"
- name: Workstation | Linux | Software | LLMs | runit | open-webui | Script | Finish - name: Workstation | Linux | Software | LLMs | runit | open-webui | Script | Finish
@@ -697,10 +683,10 @@
open-terminal: open-terminal:
build: build:
context: ./ context: ./
network: host
image: hyperling-open-terminal:latest image: hyperling-open-terminal:latest
container_name: open-terminal container_name: open-terminal
network_mode: host ports:
- {{ open_terminal_port }}:{{ open_terminal_port }}
dns: dns:
# *.dns.mullvad.net # *.dns.mullvad.net
# (https://mullvad.net/en/help/dns-over-https-and-dns-over-tls) # (https://mullvad.net/en/help/dns-over-https-and-dns-over-tls)