application-dev.yml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. server:
  2. port: 8090
  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.qq.com
  23. username: 350012167@qq.com
  24. password: ??
  25. properties:
  26. mail:
  27. smtp:
  28. auth: true
  29. starttls:
  30. enable: true
  31. required: true
  32. ## quartz定时任务,采用数据库方式
  33. quartz:
  34. job-store-type: jdbc
  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. allow:
  69. web-stat-filter:
  70. enabled: true
  71. dynamic:
  72. druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
  73. # 连接池的配置信息
  74. # 初始化大小,最小,最大
  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,wall,slf4j
  93. # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
  94. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  95. datasource:
  96. master:
  97. url: jdbc:mysql://127.0.0.1:3306/cd_work_flow_dev?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&useSSL=false
  98. username: root
  99. password: root
  100. driver-class-name: com.mysql.jdbc.Driver
  101. # 多数据源配置
  102. # master2:
  103. # url: jdbc:mysql://127.0.0.1:3306/cd_project_management?characterEncoding=UTF-8&useUnicode=true&useSSL=false&allowMultiQueries=true&failOverReadOnly=false&allowPublicKeyRetrieval=true
  104. # username: root
  105. # password: root
  106. # driver-class-name: com.mysql.jdbc.Driver
  107. #redis 配置
  108. redis:
  109. database: 11
  110. host: 127.0.0.1
  111. lettuce:
  112. pool:
  113. max-active: 8 #最大连接数据库连接数,设 0 为没有限制
  114. max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
  115. max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  116. min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
  117. shutdown-timeout: 100ms
  118. password: ''
  119. port: 6379
  120. main:
  121. allow-bean-definition-overriding: true
  122. #Activiti property configuration
  123. activiti:
  124. database-schema-update: true
  125. job-executor-activate: true # asyncExecutorEnabled属性设置设置true后将代替那些老的Job executor
  126. history-level: full
  127. db-history-used: true
  128. # async-executor-activate: true
  129. check-process-definitions: false # 自动部署验证设置:true-开启(默认)、false-关闭
  130. #mybatis plus 设置
  131. mybatis-plus:
  132. mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
  133. global-config:
  134. # 关闭MP3.0自带的banner
  135. banner: false
  136. db-config:
  137. #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
  138. id-type: 4
  139. # 默认数据库表下划线命名
  140. table-underline: true
  141. configuration:
  142. # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
  143. #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  144. # 返回类型为Map,显示null对应的字段
  145. call-setters-on-nulls: true
  146. #jeecg专用配置
  147. jeecg :
  148. # 本地:local\Minio:minio\阿里云:alioss
  149. uploadType: local
  150. path :
  151. #文件上传根目录 设置
  152. upload: D://opt//upFiles
  153. #webapp文件路径
  154. webapp: D://opt//webapp
  155. #短信秘钥
  156. sms:
  157. accessKeyId: ??
  158. accessKeySecret: ??
  159. shiro:
  160. excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**
  161. #阿里云oss存储配置
  162. oss:
  163. endpoint: oss-cn-beijing.aliyuncs.com
  164. accessKey: WegDpuKzOuPK6D3N
  165. secretKey: ??
  166. bucketName: jeecgos
  167. staticDomain: ??
  168. # ElasticSearch 设置
  169. elasticsearch:
  170. cluster-name: docker-cluster
  171. cluster-nodes: 127.0.0.1:9200
  172. # 表单设计器配置
  173. desform:
  174. # 主题颜色(仅支持 16进制颜色代码)
  175. theme-color: "#1890ff"
  176. # 在线预览文件服务器地址配置
  177. file-view-domain: http://fileview.jeecg.com
  178. # minio文件上传
  179. minio:
  180. minio_url: http://minio.jeecg.com
  181. minio_name: ??
  182. minio_pass: ??
  183. bucketName: ??
  184. #钉钉配置
  185. dingtalk:
  186. appKey: dingqowvovktgfpuvhbn
  187. appSecret: mzMwJgzRD0kDo3vPYmMCZcrgkymRGabHYmTceVqOQ9jQJWCPKX5rkIJO9vcaklyF
  188. #Mybatis输出sql日志
  189. logging:
  190. level:
  191. org.jeecg.modules : debug
  192. org.activiti.engine.impl.persistence.entity: debug
  193. #cas单点登录
  194. cas:
  195. prefixUrl: http://cas.example.org:8443/cas