-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
langflow not respecting env file. #3820
Comments
There are a couple of similar issues that might be relevant to your problem:
For your specific issue, ensure that the python3 -m langflow run --env-file .langflow.env Make sure that the if env_file:
load_dotenv(env_file, override=True) Additionally, other configuration files or settings in Langflow, such as |
Hi there! How’s it going? |
I think I understand your issue.
This happens because we have two configuration methods: one through the CLI using The It's definitely confusing and should be improved. |
Bug Description
I start langflow like this:
python3 -m langflow run --env-file .langflow.env
it doesn't respect the env file.
Here is the env file I am using:
LANGFLOW_SUPERUSER=admin
LANGFLOW_SUPERUSER_PASSWORD=password
LANGFLOW_AUTO_LOGIN=false
LANGFLOW_HOST=0.0.0.0
Reproduction
Expected behavior
it should respect the .env file.
Who can help?
No response
Operating System
Ubuntu 20.04.4 LTS
Langflow Version
1.0.18
Python Version
3.10
Screenshot
No response
Flow File
No response
The text was updated successfully, but these errors were encountered: