|
24 | 24 | # Example: Allow specific internal servers while keeping SSRF protection |
25 | 25 | # SSRF_ALLOW_IP_ADDRESS_LIST=192.168.1.100,10.0.0.50 |
26 | 26 |
|
27 | | -######################################## |
28 | | -############ Redis Settings ############ |
29 | | -######################################## |
| 27 | +# ####################################### |
| 28 | +# ########### Redis Settings ############ |
| 29 | +# ####################################### |
30 | 30 |
|
31 | 31 | # Connection string for self-hosted Redis (Docker/K8s/managed). Use container hostname when running via docker-compose. |
32 | 32 | # REDIS_URL=redis://localhost:6379 |
|
44 | 44 | # Namespace prefix for cache/queue keys. |
45 | 45 | # REDIS_PREFIX=lobechat |
46 | 46 |
|
47 | | -######################################## |
48 | | -########## AI Provider Service ######### |
49 | | -######################################## |
| 47 | +# ####################################### |
| 48 | +# ######### AI Provider Service ######### |
| 49 | +# ####################################### |
50 | 50 |
|
51 | 51 | # ## OpenAI ### |
52 | 52 |
|
@@ -277,32 +277,24 @@ OPENAI_API_KEY=sk-xxxxxxxxx |
277 | 277 | # ########### Auth Service ############## |
278 | 278 | # ####################################### |
279 | 279 |
|
280 | | -# NextAuth related configurations |
281 | | -# NEXT_PUBLIC_ENABLE_NEXT_AUTH=1 |
282 | | -# NEXT_AUTH_SECRET= |
283 | | - |
284 | | -# Auth0 configurations |
285 | | -# AUTH_AUTH0_ID= |
286 | | -# AUTH_AUTH0_SECRET= |
287 | | -# AUTH_AUTH0_ISSUER=https://your-domain.auth0.com |
288 | | - |
289 | | -# Better-Auth related configurations |
290 | | -# NEXT_PUBLIC_ENABLE_BETTER_AUTH=1 |
291 | | - |
292 | 280 | # Auth Secret (use `openssl rand -base64 32` to generate) |
293 | | -# Shared between Better-Auth and Next-Auth |
294 | 281 | # AUTH_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
295 | 282 |
|
296 | 283 | # Require email verification before allowing users to sign in (default: false) |
297 | 284 | # Set to '1' to force users to verify their email before signing in |
298 | | -# NEXT_PUBLIC_AUTH_EMAIL_VERIFICATION=0 |
| 285 | +# AUTH_EMAIL_VERIFICATION=0 |
299 | 286 |
|
300 | 287 | # SSO Providers Configuration (for Better-Auth) |
301 | 288 | # Comma-separated list of enabled OAuth providers |
302 | 289 | # Supported providers: auth0, authelia, authentik, casdoor, cloudflare-zero-trust, cognito, generic-oidc, github, google, keycloak, logto, microsoft, microsoft-entra-id, okta, zitadel |
303 | 290 | # Example: AUTH_SSO_PROVIDERS=google,github,auth0,microsoft-entra-id |
304 | 291 | # AUTH_SSO_PROVIDERS= |
305 | 292 |
|
| 293 | +# Email whitelist for registration (comma-separated) |
| 294 | +# Supports full email (user@example.com) or domain (example.com) |
| 295 | +# Leave empty to allow all emails |
| 296 | +# AUTH_ALLOWED_EMAILS=example.com,admin@other.com |
| 297 | + |
306 | 298 | # Google OAuth Configuration (for Better-Auth) |
307 | 299 | # Get credentials from: https://console.cloud.google.com/apis/credentials |
308 | 300 | # Authorized redirect URIs: |
@@ -366,6 +358,10 @@ OPENAI_API_KEY=sk-xxxxxxxxx |
366 | 358 | # SMTP authentication password (use app-specific password for Gmail) |
367 | 359 | # SMTP_PASS=your-password-or-app-specific-password |
368 | 360 |
|
| 361 | +# Sender email address (optional, defaults to SMTP_USER) |
| 362 | +# Required for AWS SES where SMTP_USER is not a valid email address |
| 363 | +# SMTP_FROM=noreply@example.com |
| 364 | + |
369 | 365 | # ####################################### |
370 | 366 | # ######### Server Database ############# |
371 | 367 | # ####################################### |
|
0 commit comments