|
@@ -12,7 +12,7 @@
|
|
|
#####################################################################
|
|
|
|
|
|
# .env 文件版本
|
|
|
-ENV_FILE_VERSION='v2.2'
|
|
|
+ENV_FILE_VERSION='v2.3'
|
|
|
|
|
|
###################### 账户配置 Account config #########################
|
|
|
# Freenom 账户 Freenom Account
|
|
@@ -24,7 +24,7 @@ FREENOM_PASSWORD=''
|
|
|
# 多账户支持 Support for multiple accounts
|
|
|
MULTIPLE_ACCOUNTS=''
|
|
|
|
|
|
-# Freenom 代理 e.g. http://127.0.0.1:1081 or socks5://127.0.0.1:1080
|
|
|
+# 【可选】 Freenom 代理 e.g. http://127.0.0.1:1081 or socks5://127.0.0.1:1080
|
|
|
FREENOM_PROXY=''
|
|
|
###################### end 账户配置 #########################
|
|
|
|
|
@@ -41,18 +41,18 @@ TO=''
|
|
|
# 是否启用邮件推送功能 1:启用 0:不启用 Whether to enable email push features 1: enabled 0: not enabled
|
|
|
MAIL_ENABLE=0
|
|
|
|
|
|
-# 自定义邮箱配置 Custom email config
|
|
|
+# 【可选】 自定义邮箱配置 Custom email config
|
|
|
# 如果你想使用除 “QQ邮箱、163邮箱、Gmail、Outlook邮箱” 外的第三方邮箱或者自建邮箱服务作为机器人邮箱,可以自定义邮箱配置,否则请不要配置这些项
|
|
|
# If you want to use third-party mailboxes or self-built mailbox services other than "QQ mailbox, 163 mailbox, Gmail,
|
|
|
# Outlook mailbox" as robot mailbox, you can customize mailbox configuration, otherwise, please don't configure these items.
|
|
|
|
|
|
-# SMTP 服务器 SMTP server e.g. smtp.gmail.com
|
|
|
+# 【可选】 SMTP 服务器 SMTP server e.g. smtp.gmail.com
|
|
|
MAIL_HOST=''
|
|
|
|
|
|
-# SMTP 端口号,一般是 587 或者 465 SMTP port
|
|
|
+# 【可选】 SMTP 端口号,一般是 587 或者 465 SMTP port
|
|
|
MAIL_PORT=''
|
|
|
|
|
|
-# 邮件加密方式,一般是 tls 或者 ssl 或者 starttls Email encryption method
|
|
|
+# 【可选】 邮件加密方式,一般是 tls 或者 ssl 或者 starttls Email encryption method
|
|
|
MAIL_ENCRYPTION=''
|
|
|
|
|
|
# end 自定义邮箱配置 end of custom email config
|
|
@@ -60,21 +60,21 @@ MAIL_ENCRYPTION=''
|
|
|
###################### end 通知邮件配置 #########################
|
|
|
|
|
|
###################### Telegram bot #########################
|
|
|
-# 可选配置,通过 Telegram bot 发送通知消息 This is an optional configuration to send notification messages via Telegram bot
|
|
|
+# 通过 Telegram bot 发送通知消息 Send messages via Telegram bot
|
|
|
|
|
|
-# 你的chat_id,通过发送“/start”给@userinfobot可以获取自己的id Your chat_id, you can get your own id by sending "/start" to @userinfobot
|
|
|
+# 你的 chat_id,通过发送“/start”给 @userinfobot 可以获取自己的 id Your chat_id, you can get your own id by sending "/start" to @userinfobot
|
|
|
TELEGRAM_CHAT_ID=''
|
|
|
|
|
|
-# 你的Telegram bot的token Token for your Telegram bot
|
|
|
+# 你的 Telegram bot 的 token Token for your Telegram bot
|
|
|
TELEGRAM_BOT_TOKEN=''
|
|
|
|
|
|
-# Telegram 代理 e.g. http://127.0.0.1:1081 or socks5://127.0.0.1:1080
|
|
|
+# 【可选】 Telegram 代理 e.g. http://127.0.0.1:1081 or socks5://127.0.0.1:1080
|
|
|
TELEGRAM_PROXY=''
|
|
|
|
|
|
-## Telegram api自建反向代理地址(选填)
|
|
|
-## 教程:https://www.hostloc.com/thread-805441-1-1.html
|
|
|
-## 如反向代理地址 http://aaa.bbb.ccc 则填写 aaa.bbb.ccc
|
|
|
-TELEGRAM_API_HOST=''
|
|
|
+# 【可选】 自建 Telegram 反向代理地址,不明白则请忽略此配置项,保持默认即可
|
|
|
+# 参考:https://web.archive.org/web/20220221035315/https://hostloc.com/thread-805441-1-1.html
|
|
|
+# 只要是一个合法的网址即可,程式会自动提取网址的主机部分。例如 https://xxx.xx.workers.dev/ or xxx.xx.xx
|
|
|
+CUSTOM_TELEGRAM_HOST='api.telegram.org'
|
|
|
|
|
|
# 是否启用 Telegram Bot 功能 1:启用 0:不启用 Whether to enable Telegram Bot features 1: enabled 0: not enabled
|
|
|
TELEGRAM_BOT_ENABLE=0
|