common.yaml 1006 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. runMode: dev
  2. k8s: 'false'
  3. log:
  4. path: logs
  5. maxBackups: '7'
  6. maxSize: '100'
  7. maxAge: '30'
  8. level: debug
  9. stacktrace: 'false'
  10. jwt:
  11. secret: 12345678abcdefg
  12. issuser: "111111111"
  13. seconds: '3600'
  14. influxdb:
  15. addr: http://47.108.135.38:18086
  16. username: root
  17. password: hly@1353406
  18. mysql:
  19. user: root
  20. password: hly@1353406
  21. addr: 47.108.135.38:3306
  22. db: db_smart
  23. charset: utf8
  24. maxIdle: '10'
  25. maxConn: '100'
  26. logMode: 'true'
  27. redis:
  28. addrs:
  29. - 127.0.0.1:6379
  30. password: ''
  31. db: '1'
  32. poolSize: '100'
  33. minIdleConns: '10'
  34. maxRetries: '1'
  35. cluster: 'false'
  36. elastic:
  37. addrs:
  38. - http://127.0.0.1:9200
  39. sniff: 'false'
  40. mongo:
  41. addr: 127.0.0.1:27017
  42. user: root
  43. password: root
  44. rpc:
  45. keepalive:
  46. clientTime: '10'
  47. clientTimeout: '1'
  48. serverTime: '5'
  49. serverMinitime: '5'
  50. serverTimeout: '1'
  51. smartSite:
  52. serviceName: smart-site
  53. servicePort: '10001'
  54. serviceIp: 0.0.0.0
  55. mysqlDb: 'db_smart'
  56. redisDb: '1'
  57. logLevel: debug
  58. logStacktrace: 'false'