application-test.yml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. server:
  2. port: 8088
  3. servlet:
  4. context-path: /jeecg-boot
  5. compression:
  6. enabled: true
  7. mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
  8. management:
  9. endpoints:
  10. web:
  11. exposure:
  12. include: metrics,httptrace
  13. spring:
  14. servlet:
  15. multipart:
  16. max-file-size: -1
  17. max-request-size: -1
  18. mail:
  19. host: smtp.163.com
  20. username: jeecgos@163.com
  21. password: ??
  22. properties:
  23. mail:
  24. smtp:
  25. auth: true
  26. starttls:
  27. enable: true
  28. required: true
  29. ## quartz定时任务,采用数据库方式
  30. #json 时间戳统一转换
  31. jackson:
  32. date-format: yyyy-MM-dd HH:mm:ss
  33. time-zone: GMT+8
  34. aop:
  35. proxy-target-class: true
  36. #配置freemarker
  37. #配置freemarker
  38. freemarker:
  39. # 设置模板后缀名
  40. suffix: .ftl
  41. # 设置文档类型
  42. content-type: text/html
  43. # 设置页面编码格式
  44. charset: UTF-8
  45. # 设置页面缓存
  46. cache: false
  47. prefer-file-system-access: false
  48. # 设置ftl文件路径
  49. template-loader-path:
  50. - classpath:/templates
  51. # 设置静态文件路径,js,css等
  52. mvc:
  53. static-path-pattern: /**
  54. resource:
  55. static-locations: classpath:/static/,classpath:/public/
  56. autoconfigure:
  57. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  58. datasource:
  59. druid:
  60. stat-view-servlet:
  61. enabled: true
  62. loginUsername: admin
  63. loginPassword: 123456
  64. web-stat-filter:
  65. enabled: true
  66. dynamic:
  67. druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
  68. # 连接池的配置信息
  69. # 初始化大小,最小,最大
  70. connection-init-sql: set names utf8mb4
  71. initial-size: 5
  72. min-idle: 5
  73. maxActive: 20
  74. # 配置获取连接等待超时的时间
  75. maxWait: 60000
  76. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  77. timeBetweenEvictionRunsMillis: 60000
  78. # 配置一个连接在池中最小生存的时间,单位是毫秒
  79. minEvictableIdleTimeMillis: 300000
  80. validationQuery: SELECT 1 FROM DUAL
  81. testWhileIdle: true
  82. testOnBorrow: false
  83. testOnReturn: false
  84. # 打开PSCache,并且指定每个连接上PSCache的大小
  85. poolPreparedStatements: true
  86. maxPoolPreparedStatementPerConnectionSize: 20
  87. # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
  88. filters: stat,slf4j
  89. # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
  90. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  91. # datasource:
  92. # master:
  93. # url: jdbc:mysql://139.186.27.96:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
  94. # username: hcst
  95. # password: test@20190531
  96. datasource:
  97. master:
  98. url: jdbc:mysql://39.106.184.70/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
  99. username: hcst
  100. password: test@20190531
  101. driver-class-name: com.mysql.jdbc.Driver
  102. #redis 配置
  103. redis:
  104. database: 0
  105. host: 127.0.0.1
  106. lettuce:
  107. pool:
  108. max-active: 8 #最大连接数据库连接数,设 0 为没有限制
  109. max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
  110. max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  111. min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
  112. shutdown-timeout: 100ms
  113. password:
  114. port: 6379
  115. #mybatis plus 设置
  116. mybatis-plus:
  117. mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml
  118. global-config:
  119. # 关闭MP3.0自带的banner
  120. banner: false
  121. db-config:
  122. #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
  123. id-type: 4
  124. # 默认数据库表下划线命名
  125. table-underline: true
  126. # configuration:
  127. # map-underscore-to-camel-case: false
  128. #分页pageHelper
  129. pagehelper:
  130. helper-dialect: mysql
  131. reasonable: true
  132. support-methods-arguments: true
  133. #jeecg专用配置
  134. jeecg:
  135. elasticsearch:
  136. cluster-nodes:
  137. check-enabled: false
  138. uploadType:
  139. oss:
  140. endpoint:
  141. accessKey:
  142. secretKey:
  143. bucketName:
  144. staticDomain:
  145. sms:
  146. accessKeyId:
  147. accessKeySecret:
  148. minio:
  149. minio_url:
  150. minio_name:
  151. minio_pass:
  152. bucketName:
  153. ffmpeg:
  154. bin: D:\java\ffmpeg\bin\ffmpeg.exe
  155. path:
  156. #文件上传根目录 设置
  157. #文件上传根目录 设置
  158. upload: /data/upload
  159. #webapp文件路径
  160. webapp: /data/webapp
  161. video-upload: /data/upload/video/
  162. image-upload: /data/upload/image/
  163. chrome-driver: D://chromedriver.exe
  164. csv-upload: /data/upload/csv/
  165. report-history: /data/report/history/
  166. report-daily: /data/report/daily/
  167. kuaishou:
  168. group-control:
  169. path: http://127.0.0.1
  170. port: 4723
  171. logging:
  172. level:
  173. root: info
  174. config: classpath:logback-test.xml
  175. chrome:
  176. script:
  177. clean: sh /mnt/webapp/cleanProcess.sh
  178. cas:
  179. prefixUrl:
  180. oss:
  181. replace:
  182. replace-value: oss-cn-beijing
  183. replace-old-value: oss-cn-beijing
  184. download: /mnt/file/video/