Skip to content

Commit 86476fe

Browse files
MarcAmickMarc Amick
andauthored
🛜 feat: Redis Alt. DNS Lookup for Elasticache support #9263 (LibreChat-AI#400)
this is required when connecting to elasticache for ioredis see "Special Note: Aws Elasticache Clusters with TLS" on this webpage: https://www.npmjs.com/package/ioredis Co-authored-by: Marc Amick <MarcAmick@jhu.edu>
1 parent c6a58fb commit 86476fe

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎pages/docs/configuration/redis.mdx‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,14 @@ REDIS_URI=rediss://your-redis-host:6380
104104
# Provide CA certificate for verification
105105
REDIS_CA=/path/to/your/ca-certificate.pem
106106
```
107+
### TLS with Elasticache
108+
109+
Elasticache may need to use an alternate dnsLookup for TLS connections. see "Special Note: Aws Elasticache Clusters with TLS" on this webpage: https://www.npmjs.com/package/ioredis
110+
111+
```bash
112+
# Enable redis alternate dnsLookup
113+
REDIS_USE_ALTERNATIVE_DNS_LOOKUP=true
114+
```
107115

108116
## Advanced Options
109117

0 commit comments

Comments
 (0)