llm, go back to using ports for Docker!

This commit is contained in:
me committed 2026-10-29 10:47:35 -07:00
1 parent d25f47bd72
commit 25346a95de
1 file changed
+18 -19
+18 -19
View File
@@ -443,7 +443,8 @@
set -e set -e
docker run \ 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 }} \
-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 }} \
@@ -689,28 +690,26 @@
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