77 lines
No EOL
1.9 KiB
Text
77 lines
No EOL
1.9 KiB
Text
# Description: Example of .env file
|
|
# Usage: Copy this file to .env and change the values
|
|
# according to your needs
|
|
# Do not commit .env file to git
|
|
# Do not change .env.example 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=
|
|
|
|
# Whether to use RedisCache or InMemoryCache
|
|
# Values: memory, redis
|
|
# Example: LANGFLOW_CACHE_TYPE=memory
|
|
# If you want to use redis then the following environment variables must be set:
|
|
# LANGFLOW_REDIS_HOST (default: localhost)
|
|
# LANGFLOW_REDIS_PORT (default: 6379)
|
|
# LANGFLOW_REDIS_DB (default: 0)
|
|
# LANGFLOW_REDIS_CACHE_EXPIRE (default: 3600)
|
|
LANGFLOW_CACHE_TYPE=
|
|
|
|
# Superuser username
|
|
# Example: LANGFLOW_SUPERUSER=admin
|
|
LANGFLOW_SUPERUSER=
|
|
|
|
# Superuser password
|
|
# Example: LANGFLOW_SUPERUSER_PASSWORD=123456
|
|
LANGFLOW_SUPERUSER_PASSWORD=
|
|
|
|
# STORE_URL
|
|
# Example: LANGFLOW_STORE_URL=https://api.langflow.store
|
|
LANGFLOW_STORE_URL=
|
|
|
|
# DOWNLOAD_WEBHOOK_URL
|
|
#
|
|
LANGFLOW_DOWNLOAD_WEBHOOK_URL=
|
|
|
|
# LIKE_WEBHOOK_URL
|
|
#
|
|
LANGFLOW_LIKE_WEBHOOK_URL= |