chore: add default value for redis configuration (#9864)

This commit is contained in:
zhuhao
2024-10-25 17:16:07 +08:00
committed by GitHub
parent caf7bc8569
commit eec63b112f
3 changed files with 16 additions and 4 deletions

View File

@@ -222,6 +222,7 @@ REDIS_PORT=6379
REDIS_USERNAME=
REDIS_PASSWORD=difyai123456
REDIS_USE_SSL=false
REDIS_DB=0
# Whether to use Redis Sentinel mode.
# If set to true, the application will automatically discover and connect to the master node through Sentinel.
@@ -273,6 +274,7 @@ CONSOLE_CORS_ALLOW_ORIGINS=*
# Supported values are `local` , `s3` , `azure-blob` , `google-storage`, `tencent-cos`, `huawei-obs`, `volcengine-tos`, `baidu-obs`, `supabase`
# Default: `local`
STORAGE_TYPE=local
STORAGE_LOCAL_PATH=storage
# S3 Configuration
# Whether to use AWS managed IAM roles for authenticating with the S3 service.
@@ -591,6 +593,7 @@ MAIL_DEFAULT_SEND_FROM=
# API-Key for the Resend email provider, used when MAIL_TYPE is `resend`.
RESEND_API_KEY=your-resend-api-key
RESEND_API_URL=https://api.resend.com
# SMTP server configuration, used when MAIL_TYPE is `smtp`
SMTP_SERVER=