From 29f840aed98909f6e9c4cd59119016737ddc45c1 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Wed, 5 Jul 2023 13:06:50 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(.env.example):=20update=20?= =?UTF-8?q?example=20values=20and=20add=20new=20configuration=20options=20?= =?UTF-8?q?The=20.env.example=20file=20has=20been=20updated=20to=20include?= =?UTF-8?q?=20example=20values=20and=20new=20configuration=20options.=20Th?= =?UTF-8?q?e=20LANGFLOW=5FDATABASE=5FURL=20example=20has=20been=20updated?= =?UTF-8?q?=20to=20include=20both=20Postgres=20and=20SQLite=20examples.=20?= =?UTF-8?q?New=20configuration=20options=20have=20been=20added=20for=20cac?= =?UTF-8?q?he=20type,=20server=20host,=20worker=20processes,=20server=20po?= =?UTF-8?q?rt,=20logging=20level,=20log=20file=20path,=20frontend=20direct?= =?UTF-8?q?ory=20path,=20whether=20to=20open=20the=20browser=20after=20sta?= =?UTF-8?q?rting=20the=20server,=20and=20whether=20to=20remove=20API=20key?= =?UTF-8?q?s=20from=20the=20projects=20saved=20in=20the=20database.=20Thes?= =?UTF-8?q?e=20changes=20provide=20more=20flexibility=20and=20customizatio?= =?UTF-8?q?n=20options=20for=20the=20application.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 22ac47a6f..6c6d2f667 100644 --- a/.env.example +++ b/.env.example @@ -4,5 +4,44 @@ # Do not commit .env file to git # Do not change .env.example file -# langflow_database_url=postgresql://postgres:postgres@localhost:5432/langflow -langflow_database_url=sqlite:///./langflow.db \ No newline at end of file +# Database URL +# Postgres example: LANGFLOW_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/langflow +# SQLite example: +LANGFLOW_DATABASE_URL=sqlite:///./langflow.db + +# Cache type +LANGFLOW_LANGCHAIN_CACHE=SQLiteCache + +# Server host +# Example: LANGFLOW_HOST=127.0.0.1 +LANGFLOW_HOST= + +# Worker processes +# Example: LANGFLOW_WORKERS=1 +LANGFLOW_WORKERS= + +# Server port +# Example: LANGFLOW_PORT=7860 +LANGFLOW_PORT= + +# Logging level +# Example: LANGFLOW_LOG_LEVEL=critical +LANGFLOW_LOG_LEVEL= + +# Path to the log file +# Example: LANGFLOW_LOG_FILE=logs/langflow.log +LANGFLOW_LOG_FILE= + +# Path to the frontend directory containing build files +# Example: LANGFLOW_FRONTEND_PATH=/path/to/frontend/build/files +LANGFLOW_FRONTEND_PATH= + +# Whether to open the browser after starting the server +# Values: true, false +# Example: LANGFLOW_OPEN_BROWSER=true +LANGFLOW_OPEN_BROWSER= + +# Whether to remove API keys from the projects saved in the database +# Values: true, false +# Example: LANGFLOW_REMOVE_API_KEYS=false +LANGFLOW_REMOVE_API_KEYS=