flnxi-Wu/license-server/.env.example
WuYongJie ba98bf22cc feat: 添加许可证系统、Agent部署模块和Harbor镜像管理
- 新增许可证服务器 (license-server/)
- 新增 Agent 部署模块 (flnxi-agent/)
- 添加许可证验证和激活页面
- 添加 Harbor 镜像同步脚本
- 更新素材系统支持许可证验证
2025-12-15 21:19:46 +08:00

16 lines
545 B
Plaintext
Raw 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.

# 数据库连接
DATABASE_URL="postgresql://postgres:password@localhost:5432/license_server?schema=public"
# RSA 密钥(生产环境请使用 generate-keys 脚本生成)
RSA_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----"
RSA_PUBLIC_KEY="-----BEGIN PUBLIC KEY-----\n...\n-----END PUBLIC KEY-----"
# AES 加密密钥(32字节 hex)
AES_SECRET_KEY="your-32-byte-hex-key-here-12345678901234567890"
# JWT 密钥
JWT_SECRET="your-jwt-secret-key"
# 管理员初始密码
ADMIN_INITIAL_PASSWORD="admin123"