Files
waoowaoo/.env.example

62 lines
1.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ==================== 数据库 ====================
# Docker 模式下无需修改docker-compose.yml 会自动覆盖
DATABASE_URL="mysql://root:waoowaoo123@localhost:3306/waoowaoo"
# ==================== 存储 ====================
# local: 本地文件存储(默认,推荐)
# cos: 腾讯云COS需要配置下方COS密钥
STORAGE_TYPE=local
# 如果使用 COS 存储,请填写以下配置
# COS_SECRET_ID=
# COS_SECRET_KEY=
# COS_BUCKET=
# COS_REGION=
# ==================== 认证 ====================
NEXTAUTH_URL=https://localhost
NEXTAUTH_SECRET=please-change-this-to-a-random-string
# ==================== 内部密钥 ====================
CRON_SECRET=please-change-this-cron-secret
INTERNAL_TASK_TOKEN=please-change-this-task-token
API_ENCRYPTION_KEY=please-change-this-encryption-key
# ==================== Redis ====================
# Docker 模式下无需修改docker-compose.yml 会自动覆盖
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_USERNAME=
REDIS_PASSWORD=
REDIS_TLS=
# ==================== Worker 配置 ====================
WATCHDOG_INTERVAL_MS=30000
TASK_HEARTBEAT_TIMEOUT_MS=90000
QUEUE_CONCURRENCY_IMAGE=50
QUEUE_CONCURRENCY_VIDEO=50
QUEUE_CONCURRENCY_VOICE=20
QUEUE_CONCURRENCY_TEXT=50
# ==================== Bull Board (任务管理面板) ====================
BULL_BOARD_HOST=0.0.0.0
BULL_BOARD_PORT=3010
BULL_BOARD_BASE_PATH=/admin/queues
BULL_BOARD_USER=
BULL_BOARD_PASSWORD=
# ==================== 日志 ====================
LOG_UNIFIED_ENABLED=true
LOG_LEVEL=ERROR
LOG_FORMAT=json
LOG_DEBUG_ENABLED=false
LOG_AUDIT_ENABLED=true
LOG_SERVICE=waoowaoo
LOG_REDACT_KEYS=password,token,apiKey,apikey,authorization,cookie,secret,access_token,refresh_token
# ==================== 计费 ====================
BILLING_MODE=ENFORCE
# ==================== 流式输出 ====================
LLM_STREAM_EPHEMERAL_ENABLED=true