🔨 chore: support to have Redis and providers (#10391)

* feat: added redis providers (ioredis, upstash)

For environment annotation of Vitest, read more: https://github.com/capricorn86/happy-dom/issues/1042#issuecomment-3585851354

Co-authored-by: Makito <5277268+sumimakito@users.noreply.github.com>

* chore: changed as suggested

---------

Co-authored-by: Makito <5277268+sumimakito@users.noreply.github.com>
This commit is contained in:
Neko
2025-11-28 11:35:35 +08:00
committed by GitHub
parent 1193568f73
commit 36750adc3a
17 changed files with 1068 additions and 6 deletions

View File

@@ -31,6 +31,11 @@ DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@localhost:5432/${LOBE_DB
# Database driver type
DATABASE_DRIVER=node
# Redis Cache/Queue Configuration
REDIS_URL=redis://localhost:6379
REDIS_PREFIX=lobechat
REDIS_TLS=0
# Authentication Configuration
# Enable Better Auth authentication
NEXT_PUBLIC_ENABLE_BETTER_AUTH=1