杭州市委办项管
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

180 linhas
4.6KB

  1. server:
  2. port: 28888
  3. servlet:
  4. context-path: /pm
  5. spring:
  6. mvc:
  7. pathmatch:
  8. matching-strategy: ant_path_matcher
  9. session:
  10. store-type: redis
  11. redis:
  12. namespace: "spring:session"
  13. redis:
  14. timeout: 5000
  15. host: 47.98.125.47
  16. port: 26379
  17. database: 0
  18. password: Ndkj1234
  19. jedis:
  20. pool:
  21. max-active: 200
  22. max-idle: 500
  23. min-idle: 8
  24. max-wait: 10000
  25. application:
  26. name: pm
  27. jackson:
  28. default-property-inclusion: non_null
  29. time-zone: GMT+8
  30. date-format: yyyy-MM-dd HH:mm:ss
  31. jpa:
  32. properties:
  33. hibernate:
  34. default_schema: PUBLIC
  35. hbm2ddl:
  36. auto: update
  37. show_sql: true
  38. show-sql: true
  39. hibernate:
  40. ddl-auto: update
  41. datasource:
  42. type: com.alibaba.druid.pool.DruidDataSource
  43. driverClassName: com.kingbase8.Driver
  44. # 数据源
  45. druid:
  46. url: jdbc:kingbase8://120.26.44.207:54321/nd_project_management?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
  47. username: SYSTEM
  48. password: Ndkj1234
  49. # 初始连接数
  50. initialSize: 5
  51. # 最小连接池数量
  52. minIdle: 10
  53. # 最大连接池数量
  54. maxActive: 20
  55. # 配置获取连接等待超时的时间
  56. maxWait: 60000
  57. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  58. timeBetweenEvictionRunsMillis: 60000
  59. # 配置一个连接在池中最小生存的时间,单位是毫秒
  60. minEvictableIdleTimeMillis: 300000
  61. # 配置一个连接在池中最大生存的时间,单位是毫秒
  62. maxEvictableIdleTimeMillis: 900000
  63. # 配置检测连接是否有效
  64. #mysql使用:SELECT 1 FROM DUAL
  65. validationQuery: SELECT 1
  66. testWhileIdle: true
  67. testOnBorrow: false
  68. testOnReturn: false
  69. webStatFilter:
  70. enabled: true
  71. statViewServlet:
  72. enabled: true
  73. # 设置白名单,不填则允许所有访问
  74. allow:
  75. url-pattern: /druid/*
  76. # 控制台管理用户名和密码
  77. login-username: admin
  78. login-password: admin
  79. filter:
  80. stat:
  81. enabled: true
  82. # 慢SQL记录
  83. log-slow-sql: true
  84. slow-sql-millis: 1000
  85. merge-sql: true
  86. wall:
  87. config:
  88. multi-statement-allow: true
  89. # rabbitmq 配置信息
  90. rabbitmq:
  91. host: 110.40.194.60
  92. port: 5672
  93. username: admin
  94. password: admin
  95. #1、确保消息从发送端到服务端投递可靠(分为以下两个步骤)
  96. #1.1、确认消息已发送到交换机(Exchange) 可以把publisher-confirms: true 替换为 publisher-confirm-type: correlate
  97. publisher-confirm-type: correlated
  98. #1.2、确认消息从交换机中到队列中
  99. publisher-returns: true
  100. mybatis-plus:
  101. configuration:
  102. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  103. global-config:
  104. db-config:
  105. logic-delete-value: true
  106. logic-not-delete-value: false
  107. logging:
  108. config: classpath:logback-spring.xml
  109. #日志配置
  110. level:
  111. root: info
  112. file:
  113. path: logs
  114. nd:
  115. log:
  116. enabled: true
  117. type: DB
  118. # 日志文件配置
  119. log:
  120. path: ./logs
  121. info:
  122. file-size: 50MB
  123. max-size: 5
  124. total-size: 200MB
  125. error:
  126. file-size: 10MB
  127. max-size: 5
  128. total-size: 50MB
  129. swagger:
  130. enabled: true
  131. flowable:
  132. async-executor-activate: true
  133. #关闭一些不需要的功能服务
  134. rest-api-enabled: false
  135. idm:
  136. enabled: false
  137. common:
  138. enabled: false
  139. dmn:
  140. enabled: false
  141. form:
  142. enabled: false
  143. app:
  144. enabled: false
  145. wflow:
  146. file:
  147. max-size: 20 #最大文件上传大小,MB
  148. sa-token:
  149. # token 名称 (同时也是cookie名称)
  150. token-name: wflowToken
  151. # token 有效期,单位s 默认30天, -1代表永不过期
  152. timeout: 172800
  153. # token 临时有效期 (指定时间内无操作就视为token过期) 单位: 秒
  154. activity-timeout: -1
  155. # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
  156. is-concurrent: true
  157. # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
  158. is-share: false
  159. # token风格
  160. token-style: uuid
  161. # 是否输出操作日志
  162. is-log: false
  163. #专有钉钉
  164. ding:
  165. #扫码
  166. app-auth-key: expert-base_dingoa-c5nnefYVnie
  167. app-auth-secret: nm8qtST8uK431HYrjr7srcE23sT4889QgMcYFM3L
  168. # #免登/获取信息
  169. app-key: file-manage-4Mjx9358wuxjyYFjY3
  170. app-secret: hE41938wqyQ5LOpc1QDRA9e7gb5YugoClWD3nY4O
  171. #专有钉钉在开发管理工作台,右键查看网页源码realmId: '31141',浙政钉固定196729
  172. tenantId: 31141
  173. domain: openplatform.dg-work.cn