改造配置文件,去掉敏感信息
This commit is contained in:
15
.env.example
15
.env.example
@@ -16,21 +16,11 @@ FLOWER_BASIC_AUTH=admin:admin123
|
||||
FLOWER_URL_PREFIX=
|
||||
FLOWER_URL=http://localhost:5555
|
||||
|
||||
# Redis配置 (扩展配置,如果需要覆盖默认值)
|
||||
REDIS_PASSWORD=
|
||||
REDIS_MAX_CONNECTIONS=20
|
||||
REDIS_TIMEOUT=5
|
||||
|
||||
# Redis分布式锁配置
|
||||
REDIS_LOCK_TIMEOUT=300
|
||||
REDIS_LOCK_MAX_RETRIES=10
|
||||
REDIS_LOCK_RETRY_DELAY=0.5
|
||||
|
||||
# 业务配置
|
||||
COUNT_THRESHOLD=3
|
||||
EXTERNAL_API_ENABLED=false
|
||||
EXTERNAL_API_RETRY_MAX=3
|
||||
EXTERNAL_API_URL=https://jeep-api.d2c.stlassac.com/api/openapi/customerApi/aiTaskResultFail
|
||||
EXTERNAL_API_URL=your_external_api_url_here
|
||||
|
||||
# 日志配置
|
||||
LOG_LEVEL=INFO
|
||||
@@ -40,6 +30,9 @@ LOG_BACKUP_COUNT=5
|
||||
LOG_FORMAT=%(asctime)s - %(name)s - %(levelname)s - %(message)s
|
||||
LOG_DATE_FORMAT=%Y-%m-%d %H:%M:%S
|
||||
|
||||
# API配置
|
||||
API_AUTHORIZATION_TOKEN=your_bearer_token_here
|
||||
|
||||
# 应用配置
|
||||
APP_NAME=AI Talk Callback API
|
||||
ENVIRONMENT=production # 环境: production, test, development
|
||||
|
||||
Reference in New Issue
Block a user