|
| 1 | +# Description: Example of .env file |
| 2 | +# Usage: Copy this file to .env and change the values |
| 3 | +# according to your needs |
| 4 | +# Do not commit .env file to git |
| 5 | +# Do not change .env.example file |
| 6 | + |
| 7 | +# Config directory |
| 8 | +# Directory where files, logs and database will be stored |
| 9 | +# Example: LANGFLOW_CONFIG_DIR=~/.langflow |
| 10 | +LANGFLOW_CONFIG_DIR= |
| 11 | + |
| 12 | +# Save database in the config directory |
| 13 | +# Values: true, false |
| 14 | +# If false, the database will be saved in Langflow's root directory |
| 15 | +# This means that the database will be deleted when Langflow is uninstalled |
| 16 | +# and that the database will not be shared between different virtual environments |
| 17 | +# Example: LANGFLOW_SAVE_DB_IN_CONFIG_DIR=true |
| 18 | +LANGFLOW_SAVE_DB_IN_CONFIG_DIR= |
| 19 | + |
| 20 | +# Database URL |
| 21 | +# Postgres example: LANGFLOW_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/langflow |
| 22 | +# SQLite example: |
| 23 | +LANGFLOW_DATABASE_URL=sqlite:///./langflow.db |
| 24 | + |
| 25 | +# Cache type |
| 26 | +LANGFLOW_LANGCHAIN_CACHE=SQLiteCache |
| 27 | + |
| 28 | +# Server host |
| 29 | +# Example: LANGFLOW_HOST=127.0.0.1 |
| 30 | +LANGFLOW_HOST= |
| 31 | + |
| 32 | +# Worker processes |
| 33 | +# Example: LANGFLOW_WORKERS=1 |
| 34 | +LANGFLOW_WORKERS= |
| 35 | + |
| 36 | +# Server port |
| 37 | +# Example: LANGFLOW_PORT=7860 |
| 38 | +LANGFLOW_PORT= |
| 39 | + |
| 40 | +# Logging level |
| 41 | +# Example: LANGFLOW_LOG_LEVEL=critical |
| 42 | +LANGFLOW_LOG_LEVEL= |
| 43 | + |
| 44 | +# Path to the log file |
| 45 | +# Example: LANGFLOW_LOG_FILE=logs/langflow.log |
| 46 | +LANGFLOW_LOG_FILE= |
| 47 | + |
| 48 | +# Path to the frontend directory containing build files |
| 49 | +# Example: LANGFLOW_FRONTEND_PATH=/path/to/frontend/build/files |
| 50 | +LANGFLOW_FRONTEND_PATH= |
| 51 | + |
| 52 | +# Whether to open the browser after starting the server |
| 53 | +# Values: true, false |
| 54 | +# Example: LANGFLOW_OPEN_BROWSER=true |
| 55 | +LANGFLOW_OPEN_BROWSER= |
| 56 | + |
| 57 | +# Whether to remove API keys from the projects saved in the database |
| 58 | +# Values: true, false |
| 59 | +# Example: LANGFLOW_REMOVE_API_KEYS=false |
| 60 | +LANGFLOW_REMOVE_API_KEYS= |
| 61 | + |
| 62 | +# Whether to use RedisCache or ThreadingInMemoryCache or AsyncInMemoryCache |
| 63 | +# Values: async, memory, redis |
| 64 | +# Example: LANGFLOW_CACHE_TYPE=memory |
| 65 | +# If you want to use redis then the following environment variables must be set: |
| 66 | +# LANGFLOW_REDIS_HOST (default: localhost) |
| 67 | +# LANGFLOW_REDIS_PORT (default: 6379) |
| 68 | +# LANGFLOW_REDIS_DB (default: 0) |
| 69 | +# LANGFLOW_REDIS_CACHE_EXPIRE (default: 3600) |
| 70 | +LANGFLOW_CACHE_TYPE= |
| 71 | + |
| 72 | +# Set AUTO_LOGIN to false if you want to disable auto login |
| 73 | +# and use the login form to login. LANGFLOW_SUPERUSER and LANGFLOW_SUPERUSER_PASSWORD |
| 74 | +# must be set if AUTO_LOGIN is set to false |
| 75 | +# Values: true, false |
| 76 | +LANGFLOW_AUTO_LOGIN= |
| 77 | + |
| 78 | +# Superuser username |
| 79 | +# Example: LANGFLOW_SUPERUSER=admin |
| 80 | +LANGFLOW_SUPERUSER= |
| 81 | + |
| 82 | +# Superuser password |
| 83 | +# Example: LANGFLOW_SUPERUSER_PASSWORD=123456 |
| 84 | +LANGFLOW_SUPERUSER_PASSWORD= |
| 85 | + |
| 86 | +# Should store environment variables in the database |
| 87 | +# Values: true, false |
| 88 | +LANGFLOW_STORE_ENVIRONMENT_VARIABLES= |
| 89 | + |
| 90 | +# STORE_URL |
| 91 | +# Example: LANGFLOW_STORE_URL=https://api.langflow.store |
| 92 | +# LANGFLOW_STORE_URL= |
| 93 | + |
| 94 | +# DOWNLOAD_WEBHOOK_URL |
| 95 | +# |
| 96 | +# LANGFLOW_DOWNLOAD_WEBHOOK_URL= |
| 97 | + |
| 98 | +# LIKE_WEBHOOK_URL |
| 99 | +# |
| 100 | +# LANGFLOW_LIKE_WEBHOOK_URL= |
| 101 | + |
| 102 | +# Value must finish with slash / |
| 103 | +#BACKEND_URL=http://localhost:7860/ |
| 104 | +BACKEND_URL= |
0 commit comments