When run docker command to start the open-webui without internet, one issue occurred. #2335
Replies: 3 comments 2 replies
-
WHISPER_MODEL_AUTO_UPDATE=False
RAG_EMBEDDING_MODEL_AUTO_UPDATE=False |
Beta Was this translation helpful? Give feedback.
-
Hi there, Thank you for replying me with these helpful information. docker run -itd -p 8080:8080 --add-host=host.docker.internal:host-gateway -e WHISPER_MODEL_AUTO_UPDATE=False -e RAG_EMBEDDING_MODEL_AUTO_UPDATE=False -v /data:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main The container restarted always due to the error as 'Fail to connect https://huggingface.co' (There is no internel with my product server!) It is appreciated that you may help to review my issue, any feedback is greatful. BR |
Beta Was this translation helpful? Give feedback.
-
We pre-load the Whisper and embedding models at build time into If you need to use a bind mount, you will want to take a copy of the existing |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I just download, export and import the docker image from one ubuntu 20.04 to a new ubuntu 20.04 server. The new ubuntu 20.04 server has no internet.
Based on the doc with below command:
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main
The containers ran, but wait for a moment. It restarted. I ran docker logs -f open-webui to check the log:
Here is the screen shot of the log. It seems that the container would like to download and load some models from huggingface.co based on internet.
It is appreciated that you may tell me whether there is any environment variable to be set without internet or not?
BR
Kimi
Beta Was this translation helpful? Give feedback.
All reactions