6b262ccd9d
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
22 lines
476 B
Bash
22 lines
476 B
Bash
# ===== 数据库配置 =====
|
|
DB_HOST=localhost
|
|
DB_PORT=3306
|
|
DB_USERNAME=root
|
|
DB_PASSWORD=xxx
|
|
DB_DATABASE=rent_platform
|
|
|
|
# ===== Redis配置 =====
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
|
|
# ===== JWT配置 =====
|
|
JWT_SECRET=your_jwt_secret_key_change_in_production
|
|
|
|
# ===== 应用配置 =====
|
|
PORT=3000
|
|
NODE_ENV=development
|
|
|
|
# ===== 密钥加密(生产环境必填)=====
|
|
# 用于加解密数据库中存储的业务密钥,生成方式:openssl rand -hex 32
|
|
ENCRYPTION_KEY=
|