application-test.yml 5.2 KB

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