mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
Question: Where do you set the chromaDB inside docker and how to correctly configure STATIC_DIR parameter? #2194
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hdnh2006 on GitHub (Sep 25, 2024).
Questions Regarding Open WebUI
Hello!
I hope you're doing well. This is not a bug report but rather a few general questions regarding how Open WebUI manages certain components.
ChromaDB Installation
I've reviewed the Open WebUI documentation and observed that you use ChromaDB by default with specified parameters, as referenced here.
However, I’m a bit unclear about how ChromaDB is specifically installed within the container. While I can see connection settings and configurations (such as certificates) in the chroma.py script, I don’t see any explicit mention of an installation script within the repository itself.
The only related mention I found is the client package in requirements.txt. Could you please clarify how ChromaDB is installed in the container environment? Am I missing something, or are there additional setup steps for installing ChromaDB?
STATIC_DIR Customizations
As per the documentation, I understand that the
STATIC_DIRenvironment variable can be used to personalize assets such as the favicon, which is great! I have a couple of follow-up questions regarding the use ofSTATIC_DIR:In the repository, I noticed two different "static" directories: one inside the backend folder, and another at the project’s root. Which of these directories is the documentation referring to for
STATIC_DIRcustomizations? What elements are customizable here?When the container is run, the static assets seem to be pre-built and bundled using
npm. If I were to set a custom directory via theSTATIC_DIRenvironment variable, would Docker incorporate these custom assets before runningnpm install, or does that need to happen at a different stage? I hope this distinction is clear, but if not, feel free to ask for more clarification.I want to thank you for building such an amazing tool. I’m genuinely excited to be working with it, and I appreciate all the effort you've put into making this accessible and customizable.
Thanks in advance for your help! 😊