application-dev.yml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. server:
  2. port: 8080
  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. servlet:
  16. multipart:
  17. max-file-size: -1
  18. max-request-size: -1
  19. mail:
  20. host: smtp.163.com
  21. username: jeecgos@163.com
  22. password: ??
  23. properties:
  24. mail:
  25. smtp:
  26. auth: true
  27. starttls:
  28. enable: true
  29. required: true
  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. # 设置模板后缀名
  39. suffix: .ftl
  40. # 设置文档类型
  41. content-type: text/html
  42. # 设置页面编码格式
  43. charset: UTF-8
  44. # 设置页面缓存
  45. cache: false
  46. prefer-file-system-access: false
  47. # 设置ftl文件路径
  48. template-loader-path:
  49. - classpath:/templates
  50. # 设置静态文件路径,js,css等
  51. mvc:
  52. static-path-pattern: /**
  53. resource:
  54. static-locations: classpath:/static/,classpath:/public/
  55. autoconfigure:
  56. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  57. datasource:
  58. druid:
  59. removeAbandoned: true
  60. removeAbandonedTimeout: 300
  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://129.28.197.250:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
  95. username: hcst
  96. password: hcst@2020
  97. driver-class-name: com.mysql.jdbc.Driver
  98. # 多数据源配置
  99. #multi-datasource1:
  100. #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  101. #username: root
  102. #password: root
  103. #driver-class-name: com.mysql.jdbc.Driver
  104. #redis 配置
  105. redis:
  106. database: 0
  107. host: 129.28.150.229
  108. lettuce:
  109. pool:
  110. max-active: 8 #最大连接数据库连接数,设 0 为没有限制
  111. max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
  112. max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  113. min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
  114. shutdown-timeout: 100ms
  115. password: ''
  116. port: 6379
  117. #mybatis plus 设置
  118. mybatis-plus:
  119. mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml
  120. global-config:
  121. # 关闭MP3.0自带的banner
  122. banner: false
  123. db-config:
  124. #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
  125. id-type: 4
  126. # 默认数据库表下划线命名
  127. table-underline: true
  128. configuration:
  129. # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
  130. #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  131. #jeecg专用配置
  132. jeecg:
  133. ffmpeg:
  134. bin: D:\java\ffmpeg\bin\ffmpeg.exe
  135. path:
  136. #文件上传根目录 设置
  137. upload: D://upFiles
  138. #webapp文件路径
  139. webapp: D://webapp
  140. video-upload: D://upFiles//video//
  141. image-upload: D://upFiles//image//
  142. chrome-driver: D://chromedriver.exe
  143. csv-upload: D://upFiles//csv//
  144. report-history: D://report//history//
  145. report-daily: D://report//daily//
  146. kuaishou:
  147. group-control:
  148. path: http://39.106.184.70
  149. port: 4723
  150. logging:
  151. level:
  152. root: info
  153. config: classpath:logback-dev.xml
  154. chrome:
  155. script:
  156. clean: sh /mnt/webapp/cleanProcess.sh
  157. oss:
  158. replace:
  159. replace-value: oss-cn-beijing
  160. replace-old-value: oss-cn-beijing
  161. download: D:\mnt\file\video