docs/self-hosting/environment-variables/redis.mdx
LobeHub uses Redis as a high-performance cache and session storage service. Configuring Redis can optimize authentication session management, file proxy caching, and more.
REDIS_URLredis://localhost:6379Supported URL formats:
redis://localhost:6379redis://username:password@localhost:6379redis://localhost:6379/0REDIS_PREFIXlobechatmy-lobechatREDIS_TLSfalsetrue<Callout type={'tip'}> Redis services from cloud providers usually require TLS enabled to ensure secure data transmission. </Callout>
REDIS_PASSWORDyour-passwordREDIS_USERNAMEdefaultREDIS_DATABASE01