application-development.yml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. server:
  2. port: 8082
  3. servlet:
  4. context-path:
  5. tomcat:
  6. uri-encoding: UTF-8
  7. basedir: /Users/liugf
  8. accesslog:
  9. pattern: common
  10. enabled: true
  11. directory: logs
  12. prefix: jeeplus_access_log
  13. suffix: .log
  14. request-attributes-enabled: true
  15. rename-on-rotate: true
  16. max-http-form-post-size: 200MB
  17. jetty:
  18. max-http-form-post-size: 20000000B
  19. logging:
  20. level:
  21. root: INFO
  22. # org.flowable: DEBUG
  23. com.jeeplus: DEBUG
  24. org.apache.shiro.cache.ehcache.EhCacheManager: WARN
  25. spring:
  26. servlet:
  27. multipart:
  28. maxFileSize: 1000MB
  29. maxRequestSize: 1000MB
  30. devtools:
  31. restart:
  32. enabled: true
  33. # profiles:
  34. # active: dev
  35. autoconfigure:
  36. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  37. # jpa:
  38. # open-in-view: false
  39. datasource:
  40. dynamic:
  41. druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
  42. SelectMethod: cursor
  43. filters: stat # 注意这个值和druid原生不一致,默认启动了stat,wall
  44. validation-query: SELECT 'x'
  45. p6spy: false # 默认false,线上必须关闭。开发阶段可以打开调试输出mybatis语句,但是有许多莫名其妙的bug,以及严重的性能问题,所以正式环境必须关闭。
  46. primary: master
  47. datasource:
  48. master:
  49. username: root
  50. password: dmjxcc@20210730
  51. #password: root
  52. #url: jdbc:mysql://127.0.0.1:3306/jeeplus-vue-saas-v3?useUnicode=true&characterEncoding=utf-8&useSSL=false&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8
  53. url: jdbc:mysql://123.57.226.179:3306/yc_gwlz?useUnicode=true&characterEncoding=utf-8&useSSL=false&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8
  54. #url: jdbc:mysql://localhost:3306/yc_gwlz?useUnicode=true&characterEncoding=utf-8&useSSL=false&nullCatalogMeansCurrent=true&serverTimezone=GMT%2B8
  55. driver-class-name: com.mysql.cj.jdbc.Driver
  56. #oracle database settings
  57. # username: monitor
  58. # password: monitor
  59. # url: jdbc:oracle:thin:@localhost:1521:helowin
  60. # driver-class-name: oracle.jdbc.driver.OracleDriver
  61. ##mssql database settings
  62. # username: sa
  63. # password: yourStrong(!)Password
  64. # driver-class-name: net.sourceforge.jtds.jdbc.Driver
  65. # url: jdbc:jtds:sqlserver://localhost:1433;SelectMethod=cursor;DatabaseName=jeeplus
  66. # SelectMethod: cursor
  67. ##pg database settings
  68. # username: postgres
  69. # password: password
  70. # driver-class-name: org.postgresql.Driver
  71. # url: jdbc:postgresql://localhost:54321/jeeplus-vue-pg
  72. # testSql: SELECT 'x'
  73. # if you need use pg database , please enable this config.
  74. # jpa:
  75. # properties:
  76. # hibernate:
  77. # jdbc:
  78. # lob:
  79. # non_contextual_creation: true
  80. # redis的配置
  81. redis:
  82. host: localhost
  83. port: 6379
  84. expireTime: 3600000 #单位秒
  85. database: 0
  86. password:
  87. mvc.servlet.load-on-startup: 1
  88. jmx:
  89. enabled: false
  90. # quartz任务配置
  91. quartz:
  92. job-store-type: jdbc
  93. properties:
  94. org:
  95. quartz:
  96. scheduler:
  97. instanceName: clusteredScheduler
  98. instanceId: AUTO
  99. jobStore:
  100. selectWithLockSQL: SELECT * FROM {0}LOCKS UPDLOCK WHERE LOCK_NAME = ?
  101. class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
  102. tablePrefix: QRTZ_
  103. isClustered: false # 打开集群配置
  104. clusterCheckinInterval: 2000 # 设置集群检查间隔20s
  105. useProperties: false
  106. threadPool:
  107. class: org.quartz.simpl.SimpleThreadPool
  108. threadCount: 10
  109. threadPriority: 5
  110. threadsInheritContextClassLoaderOfInitializingThread: true
  111. # jackson配置
  112. # jackson:
  113. # default-property-inclusion: NON_NULL
  114. # time-zone: GMT+8
  115. # date-format: yyyy-MM-dd HH:mm:ss
  116. flowable:
  117. # 关闭定时任务Job
  118. async-executor-activate: true
  119. check-process-definitions: false
  120. process-definition-location-prefix: classpath:/processes/
  121. database-schema-update: false
  122. common:
  123. app:
  124. idm-url: http://localhost:9999
  125. idm-admin:
  126. user: admin
  127. password: test
  128. #mybatis-plus配置
  129. mybatis-plus:
  130. config-location: classpath:/mybatis/mybatis-config.xml
  131. mapper-locations:
  132. - classpath*:com/jeeplus/**/*Mapper.xml
  133. - classpath:/META-INF/admin-mybatis-mappings/*.xml
  134. - classpath:/META-INF/modeler-mybatis-mappings/*.xml
  135. #实体扫描,多个package用逗号或者分号分隔
  136. typeAliasesPackage: com.jeeplus.**.domain
  137. configuration-properties:
  138. prefix:
  139. boolValue: TRUE
  140. blobType: BLOB
  141. type-handlers-package: com.jeeplus.core.mapper
  142. # global-config:
  143. # db-config:
  144. # logic-removeWithChildrenById-field: delFlag # 全局逻辑删除的实体字段名(since 3.3.0,配置后可以忽略不配置步骤2)
  145. # logic-removeWithChildrenById-value: 1 # 逻辑已删除值(默认为 1)
  146. # logic-not-removeWithChildrenById-value: 0 # 逻辑未删除值(默认为 0)
  147. #是否开启 swagger,生产环境请关闭
  148. swagger:
  149. enable: true
  150. #cas服务端的地址
  151. cas:
  152. server-url-prefix: https://www.cainiao.com:8443/cas
  153. #wps配置
  154. wps:
  155. appid: 3f86c4255efd4e9c9d3ce6554e0fdf0d
  156. appsecret: 4bbc464724dc4351a93a70c95856197f
  157. download_host: http://demo1.jeeplus.org/jeeplus-vue
  158. domain: https://wwo.wps.cn
  159. downloadCallbackPath: /usr/local/wps
  160. webctx: /jeeplus-vue
  161. #演示模式
  162. demoMode: false
  163. #oss配置
  164. config:
  165. accessory:
  166. #local, aliyun, minIO
  167. type: local
  168. baseDir: local
  169. local:
  170. location: /Users/liugf/Documents/xxx
  171. aliyun:
  172. endpoint:
  173. accessKeyId:
  174. accessKeySecret:
  175. bucketName:
  176. minIO:
  177. endpoint:
  178. accessKey:
  179. secretKey:
  180. bucketName:
  181. #上传文件类型配置
  182. file:
  183. allowedType: file # 允许上传的文件类型, all, file ,image, audio, video, office
  184. extensions:
  185. all: all # 允许上传所有类型文件
  186. file: 7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pptx,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,zip # 只允许上传安全文件(linux系统非可执行)
  187. image: gif,jpg,jpeg,bmp,png # 只允许上传图片
  188. audio: CD,OGG,MP3,ASF,WMA,WAV,MP3PRO,RM,REAL,APE,MODULE,MIDI,VQF # 只允许上传音频
  189. video: AVI,WMV,RM,RMVB,MPEG1,MPEG2,MPEG4(MP4),3GP,ASF,SWF,VOB,DAT,MOV,M4V,FLV,F4V,MKV,MTS,TS # 只允许上传视频
  190. office: txt,xls,xlsx,xlsm,xltx,xltm,xlsb,xlam,doc,docx,docm,dotx,dotm,ppt,pptx,pptm,ppsx,ppsm,potx,potm,ppam # 只允许上传office文件
  191. #token过期时间
  192. jwt.accessToken.expireTime: 86400 # 86400 ,24*3600* 24小时,单位秒
  193. #===============================#
  194. #====== license 信息 ================#
  195. #===============================#
  196. # 开发者全局信息配置,优先级高于数据库中的配置,如果不启用将采用数据库中配置
  197. devtool:
  198. enabled: false # 是否启用本地配置, true/false
  199. projectPath: /xx #后端生成路径
  200. frontPath: /xx # 前端生成路径
  201. packageName: com.jeeplus # 默认包名
  202. author: xx # 默认作者
  203. # 产品授权
  204. productId: Y20231106028
  205. license: 31DF251A21F97CEC3EA09EDE36CAD11484F182B027ECB934A41A62118712963839DCA39F68E42502DE15D9B7EF5A38E7E3F5BD1E5627691C5595DA8E6019D79FDBC51B0E51C09BDD009D42D60EFCBF1560D2394358F0E5E77A55BE57A73DD12D53B7A1A7041CF9ACC16D2DAB604C45346078FA05C71CAC737A4288B99107BDA1