备份:修复前完整项目快照 2026-04-19
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# 生产环境配置
|
||||
NODE_ENV=production
|
||||
PORT=5000
|
||||
|
||||
# 生产数据库配置
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_NAME=company_finance_db
|
||||
DB_USER=finance_user
|
||||
DB_PASSWORD=FinanceDB2026!
|
||||
|
||||
# 安全配置
|
||||
JWT_SECRET=your-production-jwt-secret-key-change-this
|
||||
SESSION_SECRET=your-production-session-secret-change-this
|
||||
|
||||
# 日志配置
|
||||
LOG_LEVEL=info
|
||||
LOG_FILE=/var/log/company-finance-api.log
|
||||
|
||||
# CORS配置
|
||||
CORS_ORIGIN=https://your-domain.com
|
||||
CORS_CREDENTIALS=true
|
||||
|
||||
# 性能配置
|
||||
REQUEST_TIMEOUT=30000
|
||||
BODY_PARSER_LIMIT=10mb
|
||||
Reference in New Issue
Block a user