forked from dou-jiang/codex-console
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
33 lines (24 loc) · 1.56 KB
/
.env.example
File metadata and controls
33 lines (24 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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
# ── 卡商 EFun(aimizy bindcard)接口版(可选) ───────────────
# vendor_efun 模式接口地址(默认 https://card.aimizy.com/api/v1/bindcard)
# VENDOR_BINDCARD_API_URL=https://card.aimizy.com/api/v1/bindcard
# vendor_efun 模式接口 Bearer Token
# VENDOR_BINDCARD_API_KEY=your_vendor_api_key_here