llm, go back to using network host for docker containers, ports still not working.

This commit is contained in:
me committed 2026-10-29 10:44:14 -07:00
1 parent b732402719
commit 9aa25f85cd
1 file changed
+19 -19
+19 -19
View File
@@ -443,9 +443,7 @@
set -e set -e
docker run \ docker run \
--name open-webui \ --name open-webui \
-e PORT={{ open_webui_port }} \ --network=host -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 }} \
@@ -691,26 +689,28 @@
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: ports:
- {{ open_terminal_port }}:{{ open_terminal_port }} - {{ open_terminal_port }}:{{ open_terminal_port }}
#dns: dns:
# # Mullvad ## Mullvad
# # (https://mullvad.net/en/help/dns-over-https-and-dns-over-tls) ## (https://mullvad.net/en/help/dns-over-https-and-dns-over-tls)
# - 194.242.2.9 # all.dns.mullvad.net #- 194.242.2.9 # all.dns.mullvad.net
# #- 194.242.2.8 # not real (yet?) ##- 194.242.2.8 # not real (yet?)
# #- 194.242.2.7 # not real (yet?) ##- 194.242.2.7 # not real (yet?)
# - 194.242.2.6 # family.dns.mullvad.net #- 194.242.2.6 # family.dns.mullvad.net
# - 194.242.2.5 # extended.dns.mullvad.net #- 194.242.2.5 # extended.dns.mullvad.net
# - 194.242.2.4 # base.dns.mullvad.net #- 194.242.2.4 # base.dns.mullvad.net
# - 194.242.2.3 # adblock.dns.mullvad.net #- 194.242.2.3 # adblock.dns.mullvad.net
# - 194.242.2.2 # dns.mullvad.net - 194.242.2.2 # dns.mullvad.net
# #- 194.242.2.1 # not real (yet?) #- 194.242.2.1 # not real (yet?)
# #- 194.242.2.0 # not real (yet?) #- 194.242.2.0 # not real (yet?)
# # Cloudflare ## Cloudflare
# - 1.0.0.1 - 1.0.0.1
# - 1.1.1.1 - 1.1.1.1
command: run --port {{ open_terminal_port }} command: run --port {{ open_terminal_port }}
environment: environment:
- OPEN_TERMINAL_FILE_BROWSER_ROOT=/home/user - OPEN_TERMINAL_FILE_BROWSER_ROOT=/home/user