forked from ZRainbow1275/AutoTeam-F
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (40 loc) · 1.89 KB
/
Copy path.env.example
File metadata and controls
48 lines (40 loc) · 1.89 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# ---- Mail Provider ----
# 选择临时邮箱后端:cf_temp_email(默认) | maillab
# - cf_temp_email = dreamhunter2333/cloudflare_temp_email
# - maillab = maillab/cloud-mail
MAIL_PROVIDER=cf_temp_email
# CloudMail (cf_temp_email 后端配置;命名沿用 CLOUDMAIL_* 是历史兼容)
CLOUDMAIL_BASE_URL=https://example.com/api
CLOUDMAIL_PASSWORD=your_password # cf_temp_email 的 admin password
CLOUDMAIL_DOMAIN=@example.com
# CLOUDMAIL_EMAIL 已废弃;保留只为兼容旧 .env,不再被使用
CLOUDMAIL_EMAIL=
# Maillab (MAIL_PROVIDER=maillab 时启用)
# MAILLAB_API_URL=https://your-maillab.example.com
# MAILLAB_USERNAME=admin@example.com
# MAILLAB_PASSWORD=your_password
# MAILLAB_DOMAIN=@example.com # 创建邮箱时使用,缺省回落 CLOUDMAIL_DOMAIN
# CPA (CLIProxyAPI)
CPA_URL=http://127.0.0.1:8317
CPA_KEY=your_key
# API 鉴权(不设置则不启用,任何人都可访问)
API_KEY=
# Playwright 浏览器代理(可选)
# 示例:socks5://user:pass@host.docker.internal:1080
PLAYWRIGHT_PROXY_URL=
# 示例:localhost,127.0.0.1
PLAYWRIGHT_PROXY_BYPASS=
# 轮询配置
EMAIL_POLL_INTERVAL=3
EMAIL_POLL_TIMEOUT=300
# 自动巡检(API 模式下生效)
AUTO_CHECK_INTERVAL=300 # 巡检间隔(秒),默认 5 分钟
AUTO_CHECK_THRESHOLD=10 # 额度低于此百分比触发轮转,默认 10%
AUTO_CHECK_MIN_LOW=2 # 至少几个账号低于阈值才触发,默认 2
# 对账策略(autoteam reconcile / cmd_check 入口自动对账)
# RECONCILE_KICK_ORPHAN=true:workspace 有 active + 本地 auth_file 缺失的"残废"自动 KICK
# false:只标 STATUS_ORPHAN,等人工补登
RECONCILE_KICK_ORPHAN=true
# RECONCILE_KICK_GHOST=true:workspace 有 active + 本地完全无记录的"ghost"自动 KICK
# false:仅日志,依赖 sync_account_states 反向补录
RECONCILE_KICK_GHOST=true