common.yaml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. runMode: dev
  2. k8s: 'false'
  3. jwt:
  4. secret: 12345678abcdefg
  5. issuser: "111111111"
  6. seconds: '3600'
  7. log:
  8. path: logs
  9. maxBackups: '7'
  10. maxSize: '100'
  11. maxAge: '30'
  12. level: debug
  13. stacktrace: 'false'
  14. mysql:
  15. user: root
  16. password: hly@1353406
  17. addr: "47.108.135.38:3306"
  18. db: mysql
  19. charset: utf8
  20. maxIdle: '10'
  21. maxConn: '100'
  22. logMode: 'true'
  23. redis:
  24. addrs:
  25. - 127.0.0.1:6379
  26. password: 'hly@1353406'
  27. db: '0'
  28. poolSize: '100'
  29. minIdleConns: '10'
  30. maxRetries: '1'
  31. cluster: 'false'
  32. elastic:
  33. addrs:
  34. - http://XXXX
  35. sniff: 'false'
  36. mongo:
  37. addr: 127.0.0.1:27017
  38. user: root
  39. password: root
  40. cpSystemManagementGateway:
  41. serviceName: cp-system-management-gateway
  42. serviceIp: 0.0.0.0
  43. servicePort: '50001'
  44. mysqlDb: mysql
  45. redisDb: '0'
  46. logLevel: debug
  47. logStacktrace: 'false'
  48. cpOrganizationManagementGateway:
  49. serviceName: cp-organization-management-gateway
  50. serviceIp: 0.0.0.0
  51. servicePort: '50002'
  52. mysqlDb: mysql
  53. redisDb: '0'
  54. logLevel: debug
  55. logStacktrace: 'false'
  56. rpc:
  57. keepalive:
  58. clientTime: '2'
  59. clientTimeout: '1'
  60. serverTime: '5'
  61. serverMinitime: '5'
  62. serverTimeout: '1'
  63. system:
  64. serviceName: cp-system-management
  65. servicePort: '10003'
  66. serviceIp: 127.0.0.1
  67. mysqlDb: db_admin
  68. redisDb: '0'
  69. logLevel: debug
  70. logStacktrace: 'false'
  71. organization:
  72. serviceName: cp-organization-management
  73. servicePort: '10009'
  74. serviceIp: 127.0.0.1
  75. mysqlDb: db_admin
  76. redisDb: '0'
  77. logLevel: debug
  78. logStacktrace: 'false'
  79. device:
  80. serviceName: cp-device-data
  81. servicePort: '10002'
  82. serviceIp: 127.0.0.1
  83. mysqlDb: db_admin
  84. redisDb: '0'
  85. logLevel: debug
  86. logStacktrace: 'false'