.env.example 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. ###################### 账户配置 Account config #########################
  14. # Freenom账户 Freenom Account
  15. [email protected]
  16. # Freenom密码 Freenom password
  17. FREENOM_PASSWORD=''
  18. # 多账户支持 Support for multiple accounts
  19. MULTIPLE_ACCOUNTS=''
  20. ###################### end 账户配置 #########################
  21. ###################### 通知邮件配置 Email config #########################
  22. # 机器人邮箱账户 Email of robot
  23. [email protected]
  24. # 机器人邮箱密码(Gmail填密码,QQ邮箱或163邮箱填授权码) Password of the robot email
  25. MAIL_PASSWORD=''
  26. # 用于接收通知的邮箱 Email address used to receive notifications
  27. TO=''
  28. # 是否启用邮件推送功能 true:启用 false:不启用 Whether to enable email push features true: enabled false: not enabled
  29. MAIL_ENABLE=true
  30. ###################### end 通知邮件配置 #########################
  31. ###################### Telegram bot #########################
  32. # 可选配置,通过 Telegram bot 发送通知消息 This is an optional configuration to send notification messages via Telegram bot
  33. # 你的chat_id,通过发送“/start”给@userinfobot可以获取自己的id Your chat_id, you can get your own id by sending "/start" to @userinfobot
  34. TELEGRAM_CHAT_ID=''
  35. # 你的Telegram bot的token Token for your Telegram bot
  36. TELEGRAM_BOT_TOKEN=''
  37. # 是否启用 Telegram Bot 功能 true:启用 false:不启用 Whether to enable Telegram Bot features true: enabled false: not enabled
  38. TELEGRAM_BOT_ENABLE=false
  39. ###################### end Telegram bot #########################
  40. # 通知频率 0:仅当有续期操作的时候 1:每次执行 Notification frequency 0: Only when there is a renewal operation 1: Each execution
  41. NOTICE_FREQ=1
  42. # 在 Github Actions 上运行 Run on github actions
  43. ON_GITHUB_ACTIONS=false
  44. # 是否验证服务器证书 Whether to verify server certificate
  45. VERIFY_SSL=false
  46. # 是否开启 Debug 模式 Whether to enable debug mode
  47. DEBUG=false