diff --git a/.env.example b/.env.example index 6c6d2f667..44fcae3da 100644 --- a/.env.example +++ b/.env.example @@ -45,3 +45,14 @@ LANGFLOW_OPEN_BROWSER= # 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= +