初始项目
This commit is contained in:
17
.env.example
Normal file
17
.env.example
Normal file
@@ -0,0 +1,17 @@
|
||||
# 数据库配置
|
||||
DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/ai_talk_callback_db
|
||||
|
||||
# Redis配置
|
||||
REDIS_URL=redis://localhost:6379/0
|
||||
REDIS_LOCK_TIMEOUT=30
|
||||
REDIS_LOCK_RETRY_DELAY=0.1
|
||||
REDIS_LOCK_MAX_RETRIES=100
|
||||
|
||||
# 业务配置
|
||||
COUNT_THRESHOLD=3
|
||||
EXTERNAL_API_RETRY_MAX=4
|
||||
EXTERNAL_API_URL=https://external.com/api/openapi/customerApi/aiTaskResultFail
|
||||
|
||||
# 应用配置
|
||||
APP_NAME=AI Talk Callback API
|
||||
DEBUG=false
|
||||
Reference in New Issue
Block a user