|
@@ -1,6 +1,6 @@
|
|
|
spring:
|
|
|
datasource:
|
|
|
- url: jdbc:mysql://localhost:3306/car_test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
|
|
|
+ url: jdbc:mysql://10.148.111.171:3306/car_test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
|
|
|
username: root
|
|
|
password: Su28092015__
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
@@ -24,6 +24,22 @@ spring:
|
|
|
max-request-size: 1000MB
|
|
|
jmx:
|
|
|
enabled: true
|
|
|
+ redis:
|
|
|
+ port: 6379
|
|
|
+ database: 1
|
|
|
+ host: 10.148.111.171
|
|
|
+ timeout: 3s
|
|
|
+ lettuce:
|
|
|
+ pool:
|
|
|
+ # 连接池最大连接数
|
|
|
+ max-active: 20
|
|
|
+ # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
+ max-wait: -1ms
|
|
|
+ # 连接池中的最大空闲连接
|
|
|
+ max-idle: 10
|
|
|
+ # 连接池中的最小空闲连接
|
|
|
+ min-idle: 3
|
|
|
+ time-between-eviction-runs: 100
|
|
|
|
|
|
mybatis-plus:
|
|
|
mapper-locations: classpath:mapper/*.xml
|
|
@@ -52,7 +68,7 @@ sa-token:
|
|
|
alone-redis:
|
|
|
port: 6379
|
|
|
database: 0
|
|
|
- host: localhost
|
|
|
+ host: 10.148.111.171
|
|
|
lettuce:
|
|
|
pool:
|
|
|
# 连接池最大连接数
|
|
@@ -70,9 +86,9 @@ file:
|
|
|
|
|
|
detection:
|
|
|
minio:
|
|
|
- endpoint: http://localhost:9000
|
|
|
+ endpoint: http://10.148.111.171:9000
|
|
|
accessKey: admin
|
|
|
secretKey: 12345678
|
|
|
bucketName: car
|
|
|
pathPrefix: common
|
|
|
- virtualUrl: http://localhost:9000
|
|
|
+ virtualUrl: http://10.148.111.171:9000
|