application.yml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. # 项目相关配置
  2. base:
  3. # 名称
  4. name: base
  5. # 版本
  6. version: 1.0
  7. # 版权年份
  8. copyrightYear: 2023
  9. # 实例演示开关
  10. demoEnabled: true
  11. # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
  12. profile: /opt/streams/record/flv
  13. # 获取ip地址开关
  14. addressEnabled: true
  15. # 验证码类型 math 数组计算 char 字符验证
  16. captchaType: math
  17. # sqlType: kingbasees # 数据库类型
  18. sqlType: dm # 数据库类型
  19. dbname: vehicle #数据库名
  20. #图片路径前缀
  21. imgUrl: http://10.48.36.43:18801/picbucket
  22. ffmpegPath: /usr/bin/ffmpeg
  23. filePath: /opt/streams/record/flv/
  24. webUrl: http://10.48.36.47:9080
  25. bakUrl: http://10.48.36.47:9080
  26. wsUrl: ws://10.48.36.47:9080
  27. historyUrl: http://10.48.36.47:9080
  28. httpUrl: http://10.48.36.47:9080
  29. recordUrl: http://10.48.36.47:18810${server.servlet.context-path}
  30. env: 1
  31. hkUrl: http://10:122:1:22:1443
  32. rtmpUrl: rtmp://10.48.36.47:1935
  33. bakUrlRtsp: rtsp://10.48.36.47:8554
  34. server:
  35. # 服务器的HTTP端口,默认为8080
  36. port: 18810
  37. servlet:
  38. # 应用的访问路径
  39. context-path: /
  40. tomcat:
  41. # tomcat的URI编码
  42. uri-encoding: UTF-8
  43. # 连接数满后的排队数,默认为100
  44. accept-count: 1000
  45. threads:
  46. # tomcat最大线程数,默认为200
  47. max: 800
  48. # Tomcat启动初始化的线程数,默认值10
  49. min-spare: 100
  50. # 日志配置
  51. logging:
  52. level:
  53. com.ozs: debug
  54. org.springframework: warn
  55. # 用户配置
  56. user:
  57. password:
  58. # 密码最大错误次数
  59. maxRetryCount: 5
  60. # 密码锁定时间(默认10分钟)
  61. lockTime: 10
  62. # Spring配置
  63. spring:
  64. # 资源信息
  65. messages:
  66. # 国际化资源文件路径
  67. basename: i18n/messages
  68. profiles:
  69. # active: kdruid
  70. active: dmdruid
  71. # 文件上传
  72. servlet:
  73. multipart:
  74. # 单个文件大小
  75. max-file-size: 1000MB
  76. # 设置总上传的文件大小
  77. max-request-size: 1000MB
  78. # 服务模块
  79. devtools:
  80. restart:
  81. # 热部署开关
  82. enabled: true
  83. # redis 配置
  84. redis:
  85. # 地址
  86. host: 10.48.36.43
  87. # 端口,默认为6379
  88. port: 7001
  89. # 数据库索引
  90. database: 1
  91. # 密码
  92. password: +xLHQ73t@q
  93. # 连接超时时间
  94. timeout: 100s
  95. lettuce:
  96. pool:
  97. # 连接池中的最小空闲连接
  98. min-idle: 0
  99. # 连接池中的最大空闲连接
  100. max-idle: 8
  101. # 连接池的最大数据库连接数
  102. max-active: 8
  103. # #连接池最大阻塞等待时间(使用负值表示没有限制)
  104. max-wait: -1ms
  105. # token配置
  106. token:
  107. # 令牌自定义标识
  108. header: Authorization
  109. # 令牌密钥
  110. secret: abcdefghijklmnopqrstuvwxyz
  111. # 令牌有效期(默认30分钟)
  112. expireTime: 30
  113. apptoken:
  114. # 令牌自定义标识
  115. header: Authorization
  116. # 令牌密钥
  117. secret: qwertyuiopasdfghjklzxcvbnm
  118. # 令牌有效期(默认15天)
  119. expireTime: 21600
  120. # MyBatis配置
  121. mybatis:
  122. # 搜索指定包别名
  123. typeAliasesPackage: com.ozs.**.domain
  124. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  125. mapperLocations: classpath*:mapper/**/*Mapper.xml
  126. # 加载全局的配置文件
  127. configLocation: classpath:mybatis/mybatis-config.xml
  128. # MyBatis-plus配置
  129. mybatis-plus:
  130. config-location: classpath:mybatis/mybatis-config.xml
  131. typeAliasesPackage: com.ozs.**.domain
  132. mapperLocations: classpath*:mapper/**/*Mapper.xml
  133. # PageHelper分页插件
  134. pagehelper:
  135. helperDialect: mysql
  136. supportMethodsArguments: true
  137. params: count=countSql
  138. # Swagger配置
  139. swagger:
  140. # 是否开启swagger
  141. enabled: true
  142. # 请求前缀
  143. pathMapping: /dev-api
  144. # 防止XSS攻击
  145. xss:
  146. # 过滤开关
  147. enabled: true
  148. # 排除链接(多个用逗号分隔)
  149. excludes: /system/notice
  150. # 匹配链接
  151. urlPatterns: /system/*,/monitor/*,/tool/*
  152. minio:
  153. endpoint: http://10.48.36.43:18801 #Minio服务所在地址
  154. bucketName: picbucket #存储桶名称
  155. accessKey: admin #访问的key
  156. secretKey: jt73W-+xhd5 #访问的秘钥
  157. artemis:
  158. host: 10.48.253.21:1443
  159. appKey: 20110033
  160. appSecret: QoGESFXOYrC68ixIS7wo