common.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. rpc:
  49. keepalive:
  50. clientTime: '2'
  51. clientTimeout: '1'
  52. serverTime: '5'
  53. serverMinitime: '5'
  54. serverTimeout: '1'
  55. system:
  56. serviceName: cp-system-management
  57. servicePort: '10003'
  58. serviceIp: 127.0.0.1
  59. mysqlDb: db_admin
  60. redisDb: '0'
  61. logLevel: debug
  62. logStacktrace: 'false'
  63. organization:
  64. serviceName: cp-organization-management
  65. servicePort: '10009'
  66. serviceIp: 127.0.0.1
  67. mysqlDb: db_admin
  68. redisDb: '0'
  69. logLevel: debug
  70. logStacktrace: 'false'
  71. device:
  72. serviceName: cp-device-data
  73. servicePort: '10002'
  74. serviceIp: 127.0.0.1
  75. mysqlDb: db_admin
  76. redisDb: '0'
  77. logLevel: debug
  78. logStacktrace: 'false'