diff --git a/tasks/workstation/linux/software/llm.yml b/tasks/workstation/linux/software/llm.yml index 40e63c6..8cf08b0 100644 --- a/tasks/workstation/linux/software/llm.yml +++ b/tasks/workstation/linux/software/llm.yml @@ -398,7 +398,7 @@ -v open-webui:/app/backend/data \ --network=host -e PORT={{ open_webui_port }} \ --add-host=host.docker.internal:host-gateway \ - -e OLLAMA_BASE_URL=http://host.docker.internal:11434 \ + -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 }} \ ghcr.io/open-webui/open-webui:main @@ -407,10 +407,14 @@ # exec curl 0.0.0.0:8080/health gave a successful response. # The environment was not accessible on the host though. #-p {{ open_webui_port }}:8080 \ - # The host.docker.internal params are still required, even with + + # The host.docker.internal params still seem required, even with # giving access to the host system and trying this: #-e OLLAMA_BASE_URL=http://localhost:11434 \ # Although I did not try it with 0.0.0.0, maybe that'd work. + + # Had to change this to 0.0.0.0, below was still acting weird. + #-e OLLAMA_BASE_URL=http://host.docker.internal:11434 \ mode: "0755" - name: Workstation | Linux | Software | LLMs | runit | open-webui | Script | Finish