diff --git a/pages/docs/configuration/dotenv.mdx b/pages/docs/configuration/dotenv.mdx index 11a5de76..78889975 100644 --- a/pages/docs/configuration/dotenv.mdx +++ b/pages/docs/configuration/dotenv.mdx @@ -1024,9 +1024,22 @@ LibreChat supports Google Tag Manager for analytics. You will need a Google Tag **Important:** If using Redis, you should flush the cache after changing any LibreChat settings. +If you are using Redis, you will need to set the following variables: + +* `REDIS_URI`: The URI for your Redis instance. +* `USE_REDIS`: Set to `true` to enable Redis. +* `USE_REDIS_CLUSTER`: Set to `true` to enable Redis Cluster mode. +* `REDIS_CA`: The path to the PEM-encoded certificate authority file for Redis TLS connections. +* `REDIS_KEY_PREFIX`: A prefix to be added to all keys in the Redis database. Defaults to empty string if not specified. +* `REDIS_MAX_LISTENERS`: The maximum number of event listeners allowed for the Redis client instance. It helps prevent memory leaks by limiting event listeners. If set to 0 (zero), it will be considered limitless. Defaults to 10 if not specified. +