From 9aa25f85cd8bf2491ccef170a4dcba48ec71318e Mon Sep 17 00:00:00 2001 From: Hyperling Date: Thu, 29 Oct 2026 10:44:14 -0700 Subject: [PATCH] llm, go back to using network host for docker containers, ports still not working. --- tasks/workstation/linux/software/ai/llm.yml | 38 ++++++++++----------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/tasks/workstation/linux/software/ai/llm.yml b/tasks/workstation/linux/software/ai/llm.yml index 089f4a1..2c4094f 100644 --- a/tasks/workstation/linux/software/ai/llm.yml +++ b/tasks/workstation/linux/software/ai/llm.yml @@ -443,9 +443,7 @@ set -e docker run \ --name open-webui \ - -e PORT={{ open_webui_port }} \ - -p {{ open_webui_port }}:{{ open_webui_port }} \ - --add-host=host.docker.internal:host-gateway \ + --network=host -e PORT={{ open_webui_port }} \ -e OLLAMA_BASE_URL=http://0.0.0.0:11434 \ {{ ("-e HF_TOKEN=" ~ hf_token) if hf_token else '' }} \ -e WEBUI_SECRET_KEY={{ open_webui_key }} \ @@ -691,26 +689,28 @@ open-terminal: build: context: ./ + network: host image: hyperling-open-terminal:latest container_name: open-terminal + network_mode: host ports: - {{ open_terminal_port }}:{{ open_terminal_port }} - #dns: - # # Mullvad - # # (https://mullvad.net/en/help/dns-over-https-and-dns-over-tls) - # - 194.242.2.9 # all.dns.mullvad.net - # #- 194.242.2.8 # not real (yet?) - # #- 194.242.2.7 # not real (yet?) - # - 194.242.2.6 # family.dns.mullvad.net - # - 194.242.2.5 # extended.dns.mullvad.net - # - 194.242.2.4 # base.dns.mullvad.net - # - 194.242.2.3 # adblock.dns.mullvad.net - # - 194.242.2.2 # dns.mullvad.net - # #- 194.242.2.1 # not real (yet?) - # #- 194.242.2.0 # not real (yet?) - # # Cloudflare - # - 1.0.0.1 - # - 1.1.1.1 + dns: + ## Mullvad + ## (https://mullvad.net/en/help/dns-over-https-and-dns-over-tls) + #- 194.242.2.9 # all.dns.mullvad.net + ##- 194.242.2.8 # not real (yet?) + ##- 194.242.2.7 # not real (yet?) + #- 194.242.2.6 # family.dns.mullvad.net + #- 194.242.2.5 # extended.dns.mullvad.net + #- 194.242.2.4 # base.dns.mullvad.net + #- 194.242.2.3 # adblock.dns.mullvad.net + - 194.242.2.2 # dns.mullvad.net + #- 194.242.2.1 # not real (yet?) + #- 194.242.2.0 # not real (yet?) + ## Cloudflare + - 1.0.0.1 + - 1.1.1.1 command: run --port {{ open_terminal_port }} environment: - OPEN_TERMINAL_FILE_BROWSER_ROOT=/home/user