config.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [mongoqy] ## 181 链接
  2. host = "127.0.0.1:27001"
  3. # host = "172.17.4.181:27001"
  4. db = "mixdata"
  5. coll = ""
  6. username = ""
  7. password = ""
  8. # direct = true
  9. [cron] ## 定时任务
  10. # spec = "0 */1 * * * *" ## 5分钟执行一次
  11. spec = "0 03 7,12,15,20 * * *" ## 每天7,12,15,20点执行
  12. url = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=0fc090e3-ceda-448d-8aba-d00a2994be7e"## 微信群通知机器人
  13. [mysql] ## 数据库MySQL
  14. # address = "127.0.0.1:4001" ## 本地
  15. ##address = "172.17.162.29:14000" ## 线上
  16. # dbname= "qyxy" ##
  17. # username = "wangchengcheng"
  18. # password= "Wcc#20221209P"
  19. # prefix = "" ## mysql 数据表前缀
  20. ## 测试环境
  21. address = "172.20.45.129:4000" ## 本地
  22. #address = "172.17.162.29:14000" ## 线上
  23. dbname= "qyxy" ##
  24. username = "root"
  25. password= "=PDT49#80Z!RVv52_z"
  26. prefix = "" ## mysql 数据表前缀
  27. ## 日志
  28. # 日志
  29. [log]
  30. # 日志路径,为空将输出控制台
  31. logpath = ""
  32. # logpath = "logs/log.out"
  33. # log size (M)
  34. maxsize = 10
  35. # compress log
  36. compress = true
  37. # log save time (day)
  38. maxage = 7
  39. # save total log file total
  40. maxbackups = 10
  41. # log level
  42. loglevel = "debug"
  43. # text or json output
  44. format = "json"