Set Environment variable by Dockerfile

This commit is contained in:
nsxshota 2023-12-07 19:19:48 +09:00
commit 51159fc3c1
2 changed files with 4 additions and 1 deletions

3
container-cmd-cdk.sh Normal file
View file

@ -0,0 +1,3 @@
export LANGFLOW_DATABASE_URL="mysql+pymysql://${username}:${password}@${host}:3306/${dbname}"
echo $LANGFLOW_DATABASE_URL
uvicorn --factory src.backend.langflow.main:create_app --host 0.0.0.0 --port 7860 --reload --log-level debug