application-dm8.yml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. server:
  2. port: 8080
  3. tomcat:
  4. max-swallow-size: -1
  5. error:
  6. include-exception: true
  7. include-stacktrace: ALWAYS
  8. include-message: ALWAYS
  9. servlet:
  10. context-path: /jeecg-boot
  11. compression:
  12. enabled: true
  13. min-response-size: 1024
  14. mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
  15. management:
  16. endpoints:
  17. web:
  18. exposure:
  19. include: metrics,httptrace
  20. spring:
  21. servlet:
  22. multipart:
  23. max-file-size: 10MB
  24. max-request-size: 10MB
  25. mail:
  26. host: smtp.163.com
  27. username: jeecgos@163.com
  28. password: ??
  29. properties:
  30. mail:
  31. smtp:
  32. auth: true
  33. starttls:
  34. enable: true
  35. required: true
  36. ## quartz定时任务,采用数据库方式
  37. quartz:
  38. job-store-type: jdbc
  39. jdbc:
  40. initialize-schema: never
  41. auto-startup: true
  42. #启动时更新己存在的Job
  43. overwrite-existing-jobs: true
  44. #json 时间戳统一转换
  45. jackson:
  46. date-format: yyyy-MM-dd HH:mm:ss
  47. time-zone: GMT+8
  48. jpa:
  49. open-in-view: false
  50. properties:
  51. hibernate:
  52. dialect: org.hibernate.dialect.Oracle8iDialect
  53. activiti:
  54. check-process-definitions: false
  55. #启用作业执行器
  56. async-executor-activate: false
  57. #启用异步执行器
  58. job-executor-activate: false
  59. aop:
  60. proxy-target-class: true
  61. #配置freemarker
  62. freemarker:
  63. # 设置模板后缀名
  64. suffix: .ftl
  65. # 设置文档类型
  66. content-type: text/html
  67. # 设置页面编码格式
  68. charset: UTF-8
  69. # 设置页面缓存
  70. cache: false
  71. prefer-file-system-access: false
  72. # 设置ftl文件路径
  73. template-loader-path:
  74. - classpath:/templates
  75. # 设置静态文件路径,js,css等
  76. mvc:
  77. static-path-pattern: /**
  78. resource:
  79. static-locations: classpath:/static/,classpath:/public/
  80. # autoconfigure:
  81. # exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  82. datasource:
  83. type: com.alibaba.druid.pool.DruidDataSource
  84. druid:
  85. # 初始连接数
  86. initialSize: 5
  87. # 最小连接池数量
  88. minIdle: 5
  89. # 最大连接池数量
  90. maxActive: 10
  91. stat-view-servlet:
  92. enabled: true
  93. loginUsername: admin
  94. loginPassword: 123456
  95. allow:
  96. web-stat-filter:
  97. enabled: true
  98. driverClassName: dm.jdbc.driver.DmDriver
  99. url: jdbc:dm://127.0.0.1:5236/?JEECG&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
  100. username: ??
  101. password: ??
  102. validationQuery: SELECT 1 FROM DUAL
  103. #redis 配置
  104. redis:
  105. database: 0
  106. host: 127.0.0.1
  107. lettuce:
  108. pool:
  109. max-active: 8 #最大连接数据库连接数,设 0 为没有限制
  110. max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
  111. max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  112. min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
  113. shutdown-timeout: 100ms
  114. password: ''
  115. port: 6379
  116. #mybatis plus 设置
  117. mybatis-plus:
  118. mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml
  119. global-config:
  120. # 关闭MP3.0自带的banner
  121. banner: false
  122. db-config:
  123. #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
  124. id-type: ASSIGN_ID
  125. # 默认数据库表下划线命名
  126. table-underline: true
  127. configuration:
  128. # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
  129. #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  130. # 返回类型为Map,显示null对应的字段
  131. call-setters-on-nulls: true
  132. #jeecg专用配置
  133. jeecg:
  134. # 是否启用安全模式
  135. safeMode: false
  136. # 签名密钥串(前后端要一致,正式发布请自行修改)
  137. signatureSecret: dd05f1c54d63749eda95f9fa6d49v442a
  138. # 本地:local\Minio:minio\阿里云:alioss
  139. uploadType: alioss
  140. path:
  141. #文件上传根目录 设置
  142. upload: D://opt//upFiles
  143. #webapp文件路径
  144. webapp: D://opt//webapp
  145. shiro:
  146. excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
  147. #阿里云oss存储配置
  148. oss:
  149. accessKey: ??
  150. secretKey: ??
  151. endpoint: oss-cn-beijing.aliyuncs.com
  152. bucketName: ??
  153. # ElasticSearch 6设置
  154. elasticsearch:
  155. cluster-name: jeecg-ES
  156. cluster-nodes: 127.0.0.1:9200
  157. check-enabled: false
  158. # 表单设计器配置
  159. desform:
  160. # 主题颜色(仅支持 16进制颜色代码)
  161. theme-color: "#1890ff"
  162. # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)
  163. upload-type: system
  164. map:
  165. # 配置百度地图的AK,申请地址:https://lbs.baidu.com/apiconsole/key?application=key#/home
  166. baidu: ??
  167. # 在线预览文件服务器地址配置
  168. file-view-domain: 127.0.0.1:8012
  169. # minio文件上传
  170. minio:
  171. minio_url: http://minio.jeecg.com
  172. minio_name: ??
  173. minio_pass: ??
  174. bucketName: otatest
  175. #大屏报表参数设置
  176. jmreport:
  177. mode: dev
  178. #是否需要校验token
  179. is_verify_token: false
  180. #必须校验方法
  181. verify_methods: remove,delete,save,add,update
  182. #Wps在线文档
  183. wps:
  184. domain: https://wwo.wps.cn/office/
  185. appid: ??
  186. appsecret: ??
  187. #xxl-job配置
  188. xxljob:
  189. enabled: false
  190. adminAddresses: http://127.0.0.1:9080/xxl-job-admin
  191. appname: ${spring.application.name}
  192. accessToken: ''
  193. address: 127.0.0.1:30007
  194. ip: 127.0.0.1
  195. port: 30007
  196. logPath: logs/jeecg/job/jobhandler/
  197. logRetentionDays: 30
  198. #自定义路由配置 yml nacos database
  199. route:
  200. config:
  201. data-id: jeecg-gateway-router
  202. group: DEFAULT_GROUP
  203. data-type: yml
  204. #分布式锁配置
  205. redisson:
  206. address: 127.0.0.1:6379
  207. password:
  208. type: STANDALONE
  209. enabled: true
  210. #cas单点登录
  211. cas:
  212. prefixUrl: http://cas.example.org:8443/cas
  213. #Mybatis输出sql日志
  214. logging:
  215. level:
  216. org.jeecg.modules.system.mapper: info
  217. #enable swagger
  218. swagger:
  219. enable: true
  220. production: false
  221. basic:
  222. enable: false
  223. username: jeecg
  224. password: jeecg1314
  225. #第三方登录
  226. justauth:
  227. enabled: true
  228. type:
  229. GITHUB:
  230. client-id: ??
  231. client-secret: ??
  232. redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/github/callback
  233. WECHAT_ENTERPRISE:
  234. client-id: ??
  235. client-secret: ??
  236. redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/wechat_enterprise/callback
  237. agent-id: 1000002
  238. DINGTALK:
  239. client-id: ??
  240. client-secret: ??
  241. redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/dingtalk/callback
  242. WECHAT_OPEN:
  243. client-id: ??
  244. client-secret: ??
  245. redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/wechat_open/callback
  246. cache:
  247. type: default
  248. prefix: 'demo::'
  249. timeout: 1h
  250. #第三方APP对接
  251. third-app:
  252. enabled: true
  253. type:
  254. #企业微信
  255. WECHAT_ENTERPRISE:
  256. enabled: true
  257. #CORP_ID
  258. client-id: ??
  259. #SECRET
  260. client-secret: ??-ij8
  261. #自建应用id
  262. agent-id: 1000004
  263. #自建应用秘钥(新版企微需要配置)
  264. agent-app-secret: ??
  265. #钉钉
  266. DINGTALK:
  267. enabled: false
  268. # appKey
  269. client-id: ??
  270. # appSecret
  271. client-secret: ??
  272. agent-id: ??