common.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. runMode: dev
  2. k8s: 'false'
  3. dustPort: '50001'
  4. localMode: 'true'
  5. dustMonitorUri: http://127.0.0.1:10004/api/v1/monitor/dust
  6. slagVehicleMonitorUri: http://127.0.0.1:10004/api/v1/monitor/slag_vehicle
  7. log:
  8. path: logs
  9. maxBackups: '7'
  10. maxSize: '100'
  11. maxAge: '30'
  12. level: debug
  13. stacktrace: 'false'
  14. jwt:
  15. secret: 12345678abcdefg
  16. issuser: "111111111"
  17. seconds: '3600'
  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. oss:
  45. endpoint: 47.108.135.38:9000
  46. id: minioadmin
  47. key: hly@1353406
  48. bucket: testb
  49. rpc:
  50. keepalive:
  51. clientTime: '10'
  52. clientTimeout: '1'
  53. serverTime: '5'
  54. serverMinitime: '5'
  55. serverTimeout: '1'
  56. smartSiteAgent:
  57. serviceName: smart-site-agent
  58. servicePort: '50002'
  59. serviceIp: 0.0.0.0
  60. mysqlDb: 'db_smart'
  61. redisDb: '1'
  62. logLevel: debug
  63. logStacktrace: 'false'
  64. smartMonitor:
  65. serviceName: smart-monitor
  66. servicePort: '10004'
  67. serviceIp: 0.0.0.0
  68. mysqlDb: 'db_smart'
  69. redisDb: '1'
  70. logLevel: debug
  71. logStacktrace: 'false'