llm, try mounting user's Code directory in the Open WebUI container.
This commit is contained in:
@@ -439,12 +439,13 @@
|
|||||||
set -e
|
set -e
|
||||||
exec docker run \
|
exec docker run \
|
||||||
--name open-webui \
|
--name open-webui \
|
||||||
-v open-webui:/app/backend/data \
|
|
||||||
--network=host -e PORT={{ open_webui_port }} \
|
--network=host -e PORT={{ open_webui_port }} \
|
||||||
--add-host=host.docker.internal:host-gateway \
|
--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 }} \
|
||||||
|
-v open-webui:/app/backend/data \
|
||||||
|
-v {{ user_user.home }}/Code:{{ user_user.home }}/Code \
|
||||||
ghcr.io/open-webui/open-webui:main
|
ghcr.io/open-webui/open-webui:main
|
||||||
|
|
||||||
# Unsure why this was not working on Artix with runit.
|
# Unsure why this was not working on Artix with runit.
|
||||||
|
|||||||
Reference in New Issue
Block a user