application-dev.yml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. server:
  2. port: 8080
  3. tomcat:
  4. max-swallow-size: -1
  5. servlet:
  6. context-path: /jeecg-boot
  7. compression:
  8. enabled: true
  9. min-response-size: 1024
  10. mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
  11. management:
  12. endpoints:
  13. web:
  14. exposure:
  15. include: metrics,httptrace
  16. spring:
  17. servlet:
  18. multipart:
  19. max-file-size: 10MB
  20. max-request-size: 10MB
  21. mail:
  22. host: smtp.exmail.qq.com
  23. username: notice@c-top.com.cn
  24. password: Hcst@2019
  25. properties:
  26. mail:
  27. smtp:
  28. ssl.enable: enable
  29. auth: true
  30. starttls:
  31. enable: true
  32. required: true
  33. ## quartz定时任务,采用数据库方式
  34. quartz:
  35. job-store-type: jdbc
  36. initialize-schema: embedded
  37. #设置自动启动,默认为 true
  38. auto-startup: true
  39. #启动时更新己存在的Job
  40. overwrite-existing-jobs: true
  41. properties:
  42. org:
  43. quartz:
  44. scheduler:
  45. instanceName: MyScheduler
  46. instanceId: AUTO
  47. jobStore:
  48. class: org.quartz.impl.jdbcjobstore.JobStoreTX
  49. driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
  50. tablePrefix: QRTZ_
  51. isClustered: true
  52. misfireThreshold: 60000
  53. clusterCheckinInterval: 10000
  54. threadPool:
  55. class: org.quartz.simpl.SimpleThreadPool
  56. threadCount: 10
  57. threadPriority: 5
  58. threadsInheritContextClassLoaderOfInitializingThread: true
  59. #json 时间戳统一转换
  60. jackson:
  61. date-format: yyyy-MM-dd HH:mm:ss
  62. time-zone: GMT+8
  63. aop:
  64. proxy-target-class: true
  65. activiti:
  66. check-process-definitions: false
  67. #启用作业执行器
  68. async-executor-activate: false
  69. #启用异步执行器
  70. job-executor-activate: false
  71. jpa:
  72. open-in-view: false
  73. #配置freemarker
  74. freemarker:
  75. # 设置模板后缀名
  76. suffix: .ftl
  77. # 设置文档类型
  78. content-type: text/html
  79. # 设置页面编码格式
  80. charset: UTF-8
  81. # 设置页面缓存
  82. cache: false
  83. prefer-file-system-access: false
  84. # 设置ftl文件路径
  85. template-loader-path:
  86. - classpath:/templates
  87. # 设置静态文件路径,js,css等
  88. mvc:
  89. static-path-pattern: /**
  90. resource:
  91. static-locations: classpath:/static/,classpath:/public/
  92. autoconfigure:
  93. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  94. datasource:
  95. druid:
  96. removeAbandoned: true
  97. removeAbandonedTimeout: 300
  98. stat-view-servlet:
  99. enabled: true
  100. loginUsername: admin
  101. loginPassword: 123456
  102. allow:
  103. web-stat-filter:
  104. enabled: true
  105. dynamic:
  106. druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
  107. # 连接池的配置信息
  108. # 初始化大小,最小,最大
  109. connection-init-sql: set names utf8mb4
  110. initial-size: 5
  111. min-idle: 5
  112. maxActive: 20
  113. # 配置获取连接等待超时的时间
  114. maxWait: 60000
  115. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  116. timeBetweenEvictionRunsMillis: 60000
  117. # 配置一个连接在池中最小生存的时间,单位是毫秒
  118. minEvictableIdleTimeMillis: 300000
  119. validationQuery: SELECT 1 FROM DUAL
  120. testWhileIdle: true
  121. testOnBorrow: false
  122. testOnReturn: false
  123. # 打开PSCache,并且指定每个连接上PSCache的大小
  124. poolPreparedStatements: true
  125. maxPoolPreparedStatementPerConnectionSize: 20
  126. # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
  127. filters: stat,wall,slf4j
  128. # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
  129. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  130. datasource:
  131. master:
  132. url: jdbc:mysql://139.186.31.213:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true
  133. username: hcst
  134. password: hcst2020
  135. driver-class-name: com.mysql.jdbc.Driver
  136. # 多数据源配置
  137. #multi-datasource1:
  138. #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  139. #username: root
  140. #password: root
  141. #driver-class-name: com.mysql.jdbc.Driver
  142. #redis 配置
  143. redis:
  144. database: 0
  145. host: 127.0.0.1
  146. lettuce:
  147. pool:
  148. max-active: 8 #最大连接数据库连接数,设 0 为没有限制
  149. max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
  150. max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  151. min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
  152. shutdown-timeout: 100ms
  153. password: ''
  154. port: 6379
  155. #mybatis plus 设置
  156. mybatis-plus:
  157. mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml
  158. global-config:
  159. # 关闭MP3.0自带的banner
  160. banner: false
  161. db-config:
  162. #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
  163. id-type: 4
  164. # 默认数据库表下划线命名
  165. table-underline: true
  166. configuration:
  167. # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
  168. #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  169. #jeecg专用配置
  170. jeecg:
  171. elasticsearch:
  172. cluster-nodes:
  173. check-enabled: false
  174. uploadType:
  175. oss:
  176. endpoint:
  177. accessKey:
  178. secretKey:
  179. bucketName:
  180. staticDomain:
  181. sms:
  182. accessKeyId:
  183. accessKeySecret:
  184. minio:
  185. minio_url:
  186. minio_name:
  187. minio_pass:
  188. bucketName:
  189. ffmpeg:
  190. bin: D:\java\ffmpeg\bin\ffmpeg.exe
  191. path:
  192. #文件上传根目录 设置
  193. upload: D://upFiles
  194. #webapp文件路径
  195. webapp: D://webapp
  196. video-upload: D://upFiles//video//
  197. image-upload: D://upFiles//image//
  198. kuaishou-agent-image: D://temp.png
  199. kuaishou-account-captcha-image: D://captcha.png
  200. chrome-driver: D://chromedriver.exe
  201. csv-upload: D://upFiles//csv//
  202. report-history: D://report//history//
  203. report-daily: D://report//daily//
  204. kuaishou:
  205. group-control:
  206. path: http://39.106.184.70
  207. port: 4723
  208. logging:
  209. level:
  210. root: info
  211. config: classpath:logback-dev.xml
  212. chrome:
  213. script:
  214. clean: sh /mnt/webapp/cleanProcess.sh
  215. cas:
  216. prefixUrl:
  217. oss:
  218. replace:
  219. replace-value: oss-cn-beijing
  220. replace-old-value: oss-cn-beijing
  221. download: D:\mnt\file\video