application-dev.yml 6.9 KB

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