application-test.yml 5.4 KB

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