Files
rent/apps/server/.env.example
T
2026-06-02 12:09:54 +08:00

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=