chore: mqsrv backend
This commit is contained in:
20
.env.example
Normal file
20
.env.example
Normal file
@@ -0,0 +1,20 @@
|
||||
# 数据库连接
|
||||
DATABASE_URL="postgresql://postgres:password@localhost:5432/maqt?schema=public"
|
||||
|
||||
# JWT 密钥(请修改为随机字符串)
|
||||
JWT_SECRET="your-super-secret-jwt-key-change-this-in-production"
|
||||
|
||||
# JWT 过期时间
|
||||
JWT_EXPIRES_IN="7d"
|
||||
|
||||
# 数据加密密钥(32字节,请修改)
|
||||
ENCRYPTION_KEY="0123456789abcdef0123456789abcdef"
|
||||
|
||||
# 服务端口
|
||||
PORT=3001
|
||||
|
||||
# 环境
|
||||
NODE_ENV="development"
|
||||
|
||||
# VIP 卡密批次密钥(用于生成卡密签名)
|
||||
BATCH_SECRET="your-batch-secret-key"
|
||||
Reference in New Issue
Block a user