Files

27 lines
1.2 KiB
Bash
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.
# OpenAI 自动注册系统 - 环境变量配置示例
# 复制此文件为 .env 并填写对应值
# ── Web UI 监听地址 ──────────────────────────────────────────
# 监听主机(默认 0.0.0.0)
# APP_HOST=0.0.0.0
# 监听端口(默认 8000)
# APP_PORT=8000
# Web UI 访问密钥(默认 admin123,强烈建议修改)
# APP_ACCESS_PASSWORD=your_secret_password
# ── 数据库 ───────────────────────────────────────────────────
# 本地 SQLite(默认,无需配置)
# APP_DATABASE_URL=data/database.db
# 远程 PostgreSQL(优先)
# APP_DATABASE_URL=postgresql://user:password@host:5432/dbname
# ── 第三方自动绑卡(可选) ───────────────────────────────────
# 第三方绑卡 API 地址(支持填 Workers 根域名,后端会自动补全路径)
# BIND_CARD_API_URL=https://twilight-river-f148.482091502.workers.dev/
# 第三方绑卡 API Key(可留空,后端会先尝试无鉴权)
# BIND_CARD_API_KEY=your_api_key_here