Initial sanitized code sync
This commit is contained in:
21
.env.example
Normal file
21
.env.example
Normal file
@@ -0,0 +1,21 @@
|
||||
# GPT-Plus Web 管理面板环境变量
|
||||
|
||||
# 管理员密码 (必填)
|
||||
ADMIN_PASSWORD=your_secure_password
|
||||
|
||||
# JWT 密钥 (可选,默认随机生成,重启后 session 失效)
|
||||
JWT_SECRET=random_secret_key
|
||||
|
||||
# 敏感数据加密密钥 (推荐,32 字节 hex = 64 个十六进制字符)
|
||||
# 用于加密卡号、CVC、API Key 等敏感数据
|
||||
# 可通过 openssl rand -hex 32 生成
|
||||
ENCRYPTION_KEY=
|
||||
|
||||
# 服务端口 (默认 8080)
|
||||
PORT=8080
|
||||
|
||||
# 数据库路径 (默认 ./gptplus.db)
|
||||
DB_PATH=./gptplus.db
|
||||
|
||||
# 开发模式 (设为 true 启用 Gin debug 模式)
|
||||
# DEV_MODE=true
|
||||
Reference in New Issue
Block a user