config.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. //修改项目时 数据库,rabbitmq队列等也要一并修改
  3. // 项目名称,决定调用哪一个check,厦门上古街(xm_sgj),贵阳碧海花园(gy_bhhy)
  4. "project_name": "gy_bhhy",
  5. // 数据库配置
  6. "db_config": {
  7. //数据库IP地址
  8. "db_ip": "192.168.2.132",
  9. // 端口号
  10. "db_port": 3306,
  11. // 数据库名
  12. "db_name": "gy_project",
  13. // 用户名
  14. "db_user": "zx",
  15. // 用户密码
  16. "db_password": "123456"
  17. },
  18. // rabbitmq配置
  19. "mq_config": {
  20. // rabbitmq服务器ip地址
  21. "mq_ip": "192.168.2.132",
  22. // 端口
  23. "mq_port": "5672",
  24. // 用户名
  25. "mq_user": "zx",
  26. // 用户密码
  27. "mq_password": "123456",
  28. //指令交换机名
  29. "mq_command_exchange_name": "command_ex",
  30. //状态交换机名
  31. "mq_statu_exchange_name": "statu_ex",
  32. //态交换机需要订阅的端口列表 厦门的
  33. // "mq_statu_exchange_keys": [["statu_ex","dispatch_11_statu_port"],
  34. // ["statu_ex","dispatch_12_statu_port"],
  35. // ["statu_ex","dispatch_13_statu_port"],
  36. // ["statu_ex","dispatch_14_statu_port"],
  37. // ["statu_ex","dispatch_21_statu_port"],
  38. // ["statu_ex","dispatch_22_statu_port"],
  39. // ["statu_ex","dispatch_23_statu_port"],
  40. // ["statu_ex","dispatch_24_statu_port"],
  41. // ["statu_ex","dispatch_25_statu_port"],
  42. // ["statu_ex","dispatch_31_statu_port"],
  43. // ["statu_ex","dispatch_32_statu_port"]
  44. // ]
  45. //态交换机需要订阅的端口列表 贵阳的
  46. "mq_statu_exchange_keys": [["statu_ex","dispatch_1_statu_port"],
  47. ["statu_ex","dispatch_2_statu_port"],
  48. ["statu_ex","measure_1_statu_port"],
  49. ["statu_ex","measure_2_statu_port"]
  50. ]
  51. }
  52. }