Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What are all possible vars for .env #329

Open
gr8rehanna opened this issue Dec 19, 2024 · 2 comments
Open

What are all possible vars for .env #329

gr8rehanna opened this issue Dec 19, 2024 · 2 comments

Comments

@gr8rehanna
Copy link

Suggestion

Hi, its nice software but i quick question.
Can someone tell me all possible values we can use in .env

Also how to use .env when we install using pip.
Its not in documentation.

Regards

@Jxzh2020
Copy link

I have the same question about the definition of .env file. It looks like the file provides the environment variables needed for the program to work properly.

Since I installed the program through pip and I want to use cuda backend, I checked backend/open_webui/env.py and found that USE_CUDA_DOCKER controls whether to test and use cuda backend. So for pip users, maybe simply setting the env var to true would enable cuda backend( at least for me it works). So maybe there've other important env var definitions that's not mentioned in .env.example. For pip users it may cause confusions.

I'd be happy if anyone could give some clues how I can find the definition of .env and all env var usages.

Much appreciation to the developers and contributors for their dedicated work. Warm regards!

@tjbck tjbck pinned this issue Dec 19, 2024
@tjbck tjbck unpinned this issue Dec 19, 2024
@tjbck tjbck transferred this issue from open-webui/open-webui Dec 19, 2024
@silentoplayz
Copy link
Collaborator

silentoplayz commented Dec 20, 2024

Open WebUI's list of environment variables that can be set, can be found here: https://docs.openwebui.com/getting-started/advanced-topics/env-configuration

Edit: Related PR - #343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants