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
docker run \
--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 HF_TOKEN=" ~ hf_token) if hf_token else '' }} \
-e WEBUI_SECRET_KEY={{ open_webui_key }} \
@@ -689,28 +690,26 @@
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