|
| 1 | +##################################################################### |
| 2 | +# 注意事项 |
| 3 | +# |
| 4 | +# - 环境变量的格式为“键=值”,顶格写,注意等号两边不能有空格,值可以用单引号或者双引号引起来,不引也行(下面的特殊情况必须引起来) |
| 5 | +# - 因为环境变量中“#”代表注释,若密码中存在“#”字符的,一定要使用单引号将整个密码引起来,否则解析会在“#”字符前截止,如果密码中存在单双引号的, |
| 6 | +# 需要在单双引号前加“\”转义 |
| 7 | +# - 配置多账户不可省略单引号,且多个账户和密码的格式必须是“<账户1>@<密码1>|<账户2>@<密码2>|<账户3>@<密码3>”,不要有空格,就算有程序也会给你干掉 |
| 8 | +# e.g. MULTIPLE_ACCOUNTS='<账户1>@<密码1>|<账户2>@<密码2>|<账户3>@<密码3>' |
| 9 | +# 注意不要省略“<>”符号,否则无法正确匹配 |
| 10 | +# - 若你只有单个账户,只配置FREENOM_USERNAME和FREENOM_PASSWORD就够了 |
| 11 | +# - 单账户和多账户的配置会被合并在一起读取并去重 |
| 12 | +##################################################################### |
| 13 | + |
| 14 | +###################### 账户配置 Account config ######################### |
| 15 | +# Freenom账户 Freenom Account |
| 16 | +FREENOM_USERNAME=[email protected] |
| 17 | + |
| 18 | +# Freenom密码 Freenom password |
| 19 | +FREENOM_PASSWORD='' |
| 20 | + |
| 21 | +# 多账户支持 Support for multiple accounts |
| 22 | +MULTIPLE_ACCOUNTS='' |
| 23 | +###################### end 账户配置 ######################### |
| 24 | + |
| 25 | +###################### 通知邮件配置 Email config ######################### |
| 26 | +# 机器人邮箱账户 Email of robot |
| 27 | + |
| 28 | + |
| 29 | +# 机器人邮箱密码(Gmail填密码,QQ邮箱或163邮箱填授权码) Password of the robot email |
| 30 | +MAIL_PASSWORD='' |
| 31 | + |
| 32 | +# 用于接收通知的邮箱 Email address used to receive notifications |
| 33 | +TO='' |
| 34 | + |
| 35 | +# 是否启用邮件推送功能 true:启用 false:不启用 Whether to enable email push features true: enabled false: not enabled |
| 36 | +MAIL_ENABLE=true |
| 37 | +###################### end 通知邮件配置 ######################### |
| 38 | + |
| 39 | +###################### Telegram bot ######################### |
| 40 | +# 可选配置,通过 Telegram bot 发送通知消息 This is an optional configuration to send notification messages via Telegram bot |
| 41 | + |
| 42 | +# 你的chat_id,通过发送“/start”给@userinfobot可以获取自己的id Your chat_id, you can get your own id by sending "/start" to @userinfobot |
| 43 | +TELEGRAM_CHAT_ID='' |
| 44 | + |
| 45 | +# 你的Telegram bot的token Token for your Telegram bot |
| 46 | +TELEGRAM_BOT_TOKEN='' |
| 47 | + |
| 48 | +# 是否启用 Telegram Bot 功能 true:启用 false:不启用 Whether to enable Telegram Bot features true: enabled false: not enabled |
| 49 | +TELEGRAM_BOT_ENABLE=false |
| 50 | +###################### end Telegram bot ######################### |
| 51 | + |
| 52 | +# 通知频率 0:仅当有续期操作的时候 1:每次执行 Notification frequency 0: Only when there is a renewal operation 1: Each execution |
| 53 | +NOTICE_FREQ=1 |
| 54 | + |
| 55 | +# 在 Github Actions 上运行 Run on github actions |
| 56 | +ON_GITHUB_ACTIONS=false |
| 57 | + |
| 58 | +# 是否验证服务器证书 Whether to verify server certificate |
| 59 | +VERIFY_SSL=false |
| 60 | + |
| 61 | +# 是否开启 Debug 模式 Whether to enable debug mode |
| 62 | +DEBUG=false |
0 commit comments