Files
gpt-plus-gpt/.env.example
2026-03-15 20:48:19 +08:00

22 lines
565 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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