common.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. runMode: dev
  2. k8s: 'false'
  3. initDb:
  4. organizationDb: db_organization_management
  5. log:
  6. path: logs
  7. maxBackups: '7'
  8. maxSize: '100'
  9. maxAge: '30'
  10. level: debug
  11. stacktrace: 'false'
  12. mysql:
  13. user: root
  14. password: hly@1353406
  15. addr: "47.108.135.38:3306"
  16. db: mysql
  17. charset: utf8
  18. maxIdle: '10'
  19. maxConn: '100'
  20. logMode: 'true'
  21. redis:
  22. addrs:
  23. - 127.0.0.1:6379
  24. password: 'hly@1353406'
  25. db: '0'
  26. poolSize: '100'
  27. minIdleConns: '10'
  28. maxRetries: '1'
  29. cluster: 'false'
  30. elastic:
  31. addrs:
  32. - http://XXXX
  33. sniff: 'false'
  34. mongo:
  35. addr: 127.0.0.1:27017
  36. user: root
  37. password: root
  38. rpc:
  39. keepalive:
  40. clientTime: '2'
  41. clientTimeout: '1'
  42. serverTime: '5'
  43. serverMinitime: '5'
  44. serverTimeout: '1'
  45. system:
  46. serviceName: cp-system-management
  47. servicePort: '10003'
  48. serviceIp: 127.0.0.1
  49. mysqlDb: db_admin
  50. redisDb: '0'
  51. logLevel: debug
  52. logStacktrace: 'false'
  53. organization:
  54. serviceName: cp-organization-management
  55. servicePort: '10009'
  56. serviceIp: 127.0.0.1
  57. mysqlDb: db_admin
  58. redisDb: '0'
  59. logLevel: debug
  60. logStacktrace: 'false'
  61. device:
  62. serviceName: cp-device-data
  63. servicePort: '10002'
  64. serviceIp: 127.0.0.1
  65. mysqlDb: db_admin
  66. redisDb: '0'
  67. logLevel: debug
  68. logStacktrace: 'false'