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
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