1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
| # 端口号
| server:
| port: 8080
|
| # spring配置
| spring:
| # 数据源配置
| datasource:
| url: jdbc:mysql://42.193.1.25:3306/qyjz?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
| username: root
| password: 321$YcYl@1970!
| driverClassName: com.mysql.cj.jdbc.Driver
| type: com.zaxxer.hikari.HikariDataSource
| # 数据库连接池配置
| hikari:
| minimum-idle: 10
| maximum-pool-size: 30
| auto-commit: true
| idle-timeout: 30000
| pool-name: HikariCP
| max-lifetime: 900000
| connection-timeout: 10000
| connection-test-query: SELECT 1
| validation-timeout: 1000
| servlet:
| multipart:
| max-file-size: 50MB
|
| # minio配置
| minio:
| address: http://119.28.5.249:9000
| accessKey: minioadmin
| secretKey: minioadmin
| bucketName: img
|
| # mybatis配置
| mybatis-plus:
| global-config:
| banner: false
| db-config:
| id-type: auto
| field-strategy: NOT_NULL
| configuration:
| log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|