config.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #系统/后台相关
  2. system:
  3. env: public
  4. addr: 8889
  5. db-type: mysql
  6. oss-type: local
  7. use-multipoint: false
  8. use-redis: true
  9. iplimit-count: 15000
  10. iplimit-time: 3600
  11. router-prefix: ""
  12. jwt:
  13. signing-key: 86e7a688-8d7d-42a5-af86-ec61120601d5
  14. expires-time: 100d
  15. buffer-time: 1d
  16. issuer: qmPlus
  17. captcha:
  18. key-long: 6 #验证码长度
  19. img-width: 240 #宽
  20. img-height: 80 #高
  21. open-captcha: 0 #开启验证码 1关闭,0开启
  22. open-captcha-timeout: 3600 #有效期
  23. logrus:
  24. stdout: true #是否打印到控制台
  25. max-age: 168 #保存时间168小时(7天) 单位小时
  26. rotation-time: 24 #切割间隔 单位小时
  27. mysql:
  28. path: 127.0.0.1
  29. port: "3306"
  30. config: charset=utf8mb4&parseTime=True&loc=Local
  31. db-name: lcfns
  32. username: root
  33. password: root
  34. prefix: ""
  35. singular: false
  36. engine: ""
  37. max-idle-conns: 10
  38. max-open-conns: 100
  39. log-mode: info
  40. log-zap: false
  41. #海康摄像头事件监听服务器,最多配三个,只需修改id,url,ipAddress和portNo
  42. HttpHostNotificationList:
  43. HttpHostNotification:
  44. -
  45. id: 1
  46. url: /event
  47. protocolType: HTTP
  48. parameterFormatType: XML
  49. addressingFormatType: ipaddress
  50. ipAddress: 192.168.110.69
  51. portNo: 8850
  52. httpBroken: true
  53. httpAuthenticationMethod: none
  54. #调用外部接口
  55. foreign:
  56. securityRewindUrl: "http://106.52.134.22:9099"
  57. #海康摄像头统一配置
  58. hikvision:
  59. user: admin
  60. password: kk176@lc
  61. streamBaseUrl: "webrtc://106.52.134.22/live/"