📝 chore(.env.example): add LANGFLOW_STORE_URL variable to the example file for configuring the store URL
🐛 fix(Makefile): add --env-file .env option to the 'backend' target to load environment variables from .env file
This commit is contained in:
parent
3e5eb62c5c
commit
7b158c6ae6
2 changed files with 6 additions and 2 deletions
|
|
@ -71,3 +71,7 @@ LANGFLOW_SUPERUSER=
|
||||||
# Superuser password
|
# Superuser password
|
||||||
# Example: LANGFLOW_SUPERUSER_PASSWORD=123456
|
# Example: LANGFLOW_SUPERUSER_PASSWORD=123456
|
||||||
LANGFLOW_SUPERUSER_PASSWORD=
|
LANGFLOW_SUPERUSER_PASSWORD=
|
||||||
|
|
||||||
|
# STORE_URL
|
||||||
|
# Example: LANGFLOW_STORE_URL=https://langflow.store
|
||||||
|
LANGFLOW_STORE_URL=
|
||||||
4
Makefile
4
Makefile
|
|
@ -74,10 +74,10 @@ backend:
|
||||||
make install_backend
|
make install_backend
|
||||||
ifeq ($(login),1)
|
ifeq ($(login),1)
|
||||||
@echo "Running backend without autologin";
|
@echo "Running backend without autologin";
|
||||||
poetry run langflow run --backend-only --port 7860 --host 0.0.0.0 --no-open-browser
|
poetry run langflow run --backend-only --port 7860 --host 0.0.0.0 --no-open-browser --env-file .env
|
||||||
else
|
else
|
||||||
@echo "Running backend with autologin";
|
@echo "Running backend with autologin";
|
||||||
LANGFLOW_AUTO_LOGIN=True poetry run langflow run --backend-only --port 7860 --host 0.0.0.0 --no-open-browser
|
LANGFLOW_AUTO_LOGIN=True poetry run langflow run --backend-only --port 7860 --host 0.0.0.0 --no-open-browser --env-file .env
|
||||||
endif
|
endif
|
||||||
|
|
||||||
build_and_run:
|
build_and_run:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue