config.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "port": ":8011",
  3. "oss_accounts": [
  4. {
  5. "id": "main",
  6. "endpoint": "oss-cn-beijing.aliyuncs.com",
  7. "access_key_id": "LTAI4G5x9aoZx8dDamQ7vfZi",
  8. "access_key_secret": "Bk98FsbPYXcJe72n1bG3Ssf73acuNh"
  9. }
  10. ],
  11. "buckets": [
  12. {
  13. "bucket_id": "detail",
  14. "account_id": "main",
  15. "bucket_name": "jytest2022"
  16. }
  17. ],
  18. "node": {
  19. "node_name": "node1"
  20. },
  21. "redis": {
  22. "address": "172.20.45.129:1712",
  23. "password": ""
  24. },
  25. "elasticSearch": {
  26. "address": "http://172.20.45.129:9206,http://172.20.45.130:9306",
  27. "size": 10,
  28. "version": "v7",
  29. "userName": "",
  30. "password": "",
  31. "indexName": "bidding"
  32. },
  33. "email": {
  34. "mails": [
  35. {
  36. "addr": "smtp.exmail.qq.com",
  37. "port": 465,
  38. "pwd": "ue9Rg9Sf4CVtdm5a",
  39. "user": "public03@topnet.net.cn",
  40. "mailPoolSize": 5,
  41. "mailReTry": 1
  42. },
  43. {
  44. "addr": "smtp.exmail.qq.com",
  45. "port": 465,
  46. "pwd": "Mu^$i21673",
  47. "user": "public04@topnet.net.cn",
  48. "mailPoolSize": 4,
  49. "mailReTry": 1
  50. }
  51. ],
  52. "title": "oos代理服务告警",
  53. "recipients": [
  54. "wangchuanjin@topnet.net.cn"
  55. ]
  56. },
  57. "weixin": {
  58. "webhook_url": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=295f5f6a-f58c-4765-8bae-9bd718c566a5"
  59. },
  60. "warnMaxNodeNum": 1,
  61. "warnInterval": 600,
  62. "logger": {
  63. "filename": "./logs/oss.log",
  64. "maxSize": 1024,
  65. "maxBackups": 3,
  66. "maxAge": 3,
  67. "compress": true
  68. }
  69. }