-
Notifications
You must be signed in to change notification settings - Fork 210
Expand file tree
/
Copy path.env.example
More file actions
34 lines (28 loc) · 1.69 KB
/
.env.example
File metadata and controls
34 lines (28 loc) · 1.69 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
# 账号配置
# 全局 Linux.do 账号配置(用于 ACCOUNTS 中 "linux.do": true 的情况)
ACCOUNTS_LINUX_DO=[{"username":"你的用户名","password":"你的密码"}]
# 全局 GitHub 账号配置(用于 ACCOUNTS 中 "github": true 的情况)
ACCOUNTS_GITHUB=[{"username":"你的用户名","password":"你的密码"}]
# ACCOUNTS 支持三种 OAuth 配置格式:
# 1. bool 类型:使用全局账号(ACCOUNTS_LINUX_DO 或 ACCOUNTS_GITHUB)
# {"provider": "anyrouter", "linux.do": true, "github": true}
# 2. dict 类型:单个账号(兼容历史配置)
# {"provider": "anyrouter", "linux.do": {"username": "用户名", "password": "密码"}}
# 3. array 类型:多个账号
# {"provider": "anyrouter", "linux.do": [{"username": "用户名1", "password": "密码1"}, {"username": "用户名2", "password": "密码2"}]}
ACCOUNTS=[{"name":"自定义账号名称", "cookies":{"session":"你的session值"}, "api_user":"你的api_user值", "linux.do":[{"username":"你的用户名","password":"你的密码"}]},{"provider": "anyrouter", "linux.do": true, "github": true}]
# 996 账号配置
ACCOUNTS_996=["账号设置下的系统ACCESS TOKEN"]
# GGBOOM 账号配置
ACCOUNTS_QAQ_ALIYUN=["Cookies 下的 sid 值"]
# 可选:通知配置
# DINGDING_WEBHOOK=https://oapi.dingtalk.com/robot/send?access_token=xxx
# EMAIL_USER=your_email@example.com
# EMAIL_PASS=your_password
# EMAIL_TO=recipient@example.com
# PUSHPLUS_TOKEN=your_pushplus_token
# SERVERPUSHKEY=your_server_pushkey
# FEISHU_WEBHOOK=https://open.feishu.cn/open-apis/bot/v2/hook/xxx
# WEIXIN_WEBHOOK=https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxx
# TELEGRAM_BOT_TOKEN=your_telegram_bot_token
# TELEGRAM_CHAT_ID=your_telegram_chat_id