config.toml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. [mongob] ## bidding 链接
  2. host = "127.0.0.1:27083"
  3. db = "qfw"
  4. coll = "bidding" ## 标讯数据标
  5. size =10
  6. username = "SJZY_RWbid_ES"
  7. password = "SJZY@B4i4D5e6S"
  8. direct = true
  9. ## 测试环境
  10. # host = "192.168.3.206:27002"
  11. # db = "qfw_data"
  12. # coll = "bidding" ## 标讯数据标
  13. # username = "root"
  14. # password = "root"
  15. [env]
  16. # filestart = "652c0c83296f2847a1c87241" ## bidding_file 起始ID
  17. # nomalstart = "652c0c85ff68a4004101fe97" ## bidding_nomal 起始ID
  18. nextaddr = "127.0.0.1" ## 调用抽取地址
  19. nextport = "1177" ## 调用抽取端口
  20. localport = ":1176" ## 本地监听端口
  21. send = false ## 是否给抽取发送数据;正式环境应为 true
  22. spec = "0 00 23 * * *" ## 每天23点执行;//已日更新的方式创建索引
  23. ## spec = "0 00 01 * * *" ## 每天01点执行;适合 按照月份创建索引
  24. spectype = "day" ## 定时任务类型;正式环境应该是 month 。day 表示每天创建一个索引;month 表示每个月创建一个
  25. [es]
  26. url = "http://192.168.3.149:9201" ## 测试环境
  27. username = ""
  28. password = ""
  29. #
  30. # url = "http://127.0.0.1:19905"
  31. # username = "jybid"
  32. # password = "Top2023_JEB01i@31"
  33. # url2 = ""
  34. # username2 = ""
  35. # password2 = ""
  36. [email]
  37. api = "http://172.17.145.179:19281/_send/_mail"
  38. to = "wangchengcheng@topnet.net.cn"
  39. [log]
  40. # 日志路径,为空将输出控制台
  41. logpath = ""
  42. # logpath = "logs/log.out"
  43. # log size (M)
  44. maxsize = 10
  45. # compress log
  46. compress = true
  47. # log save time (day)
  48. maxage = 7
  49. # save total log file total
  50. maxbackups = 10
  51. # log level
  52. loglevel = "debug"
  53. # text or json output
  54. format = "json"