|
@@ -2,15 +2,16 @@ server:
|
|
|
port: 8068
|
|
|
# 通用配置
|
|
|
pavis:
|
|
|
+ # 需要换成自己开发环境本地的地址
|
|
|
profile: /Users/alibct/Downloads/project/pavis/uploadPath
|
|
|
#minio配置
|
|
|
minio:
|
|
|
- #对象存储服务的URL
|
|
|
- url: http://localhost:9000/
|
|
|
- #Access key账户
|
|
|
- accessKey: 2TlzVcrX1jH2oWhz
|
|
|
- #Secret key密码
|
|
|
- secretKey: ZfmZgtZO4g1L8iMmVB8DeARCSdyxzI8G
|
|
|
+ #对象存储服务的URL,203服务器配置
|
|
|
+ url: http://192.168.1.203:9001/
|
|
|
+ #Access key账户,203服务器配置
|
|
|
+ accessKey: ZUtllZ45WikUXls9J6c7
|
|
|
+ #Secret key密码,203服务器配置
|
|
|
+ secretKey: If0RXBu7LQwk9G535RqYNbSJ0YLTZl8WfLTvp3uR
|
|
|
bucketName: default
|
|
|
spring:
|
|
|
datasource:
|
|
@@ -19,23 +20,23 @@ spring:
|
|
|
strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
|
|
|
datasource:
|
|
|
master:
|
|
|
- url: jdbc:mysql://localhost:3306/slim
|
|
|
+ url: jdbc:mysql://192.168.1.203:3310/slim
|
|
|
username: root
|
|
|
- password: password
|
|
|
+ password: 123
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
|
|
|
slave_1:
|
|
|
- url: jdbc:mysql://localhost:3307/slim
|
|
|
+ url: jdbc:mysql://192.168.1.203:3311/slim
|
|
|
username: root
|
|
|
- password: password
|
|
|
+ password: 123
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
slave_2:
|
|
|
- url: jdbc:mysql://localhost:3308/slim
|
|
|
+ url: jdbc:mysql://192.168.1.203:3312/slim
|
|
|
username: root
|
|
|
- password: password
|
|
|
+ password: 123
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
# redis 配置
|
|
|
redis:
|
|
|
# 地址
|
|
|
- host: localhost
|
|
|
+ host: 192.168.1.203
|
|
|
# 端口,默认为6379
|
|
|
- port: 6379
|
|
|
+ port: 6378
|