|
@@ -0,0 +1,84 @@
|
|
|
+server:
|
|
|
+ port: 8080
|
|
|
+# 通用配置
|
|
|
+pavis:
|
|
|
+ # 需要换成自己开发环境本地的地址
|
|
|
+ profile: D:\privacy\pavis\uploadPath
|
|
|
+#minio配置
|
|
|
+minio:
|
|
|
+# #对象存储服务的URL
|
|
|
+# url: http://localhost:9000/
|
|
|
+# #Access key账户
|
|
|
+# accessKey: minioadmin
|
|
|
+# #Secret key密码
|
|
|
+# secretKey: minioadmin
|
|
|
+# bucketName: default
|
|
|
+# #Access key账户
|
|
|
+# accessKey: 2TlzVcrX1jH2oWhz
|
|
|
+# #Secret key密码
|
|
|
+# secretKey: ZfmZgtZO4g1L8iMmVB8DeARCSdyxzI8G
|
|
|
+
|
|
|
+ url: http://192.168.1.203:9001
|
|
|
+ #Access key账户
|
|
|
+ accessKey: itSjNISOAdySd5HBUsTB
|
|
|
+ #Secret key密码
|
|
|
+ secretKey: OCl5JWqS8HyDkE8l1kFLs2zMub13vVBCcfdQ7fv6
|
|
|
+ bucketName: default
|
|
|
+spring:
|
|
|
+ datasource:
|
|
|
+ dynamic:
|
|
|
+ primary: master #设置默认的数据源或者数据源组,默认值即为master
|
|
|
+ strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
|
|
|
+ datasource:
|
|
|
+# master:
|
|
|
+# url: jdbc:mysql://192.168.1.166:3306/slim
|
|
|
+# username: root
|
|
|
+# password: 123456
|
|
|
+# driver-class-name: com.mysql.cj.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
|
|
|
+ master:
|
|
|
+ url: jdbc:mysql://192.168.1.203:3310/slim
|
|
|
+ username: root
|
|
|
+ password: 123
|
|
|
+ driver-class-name: com.mysql.cj.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
|
|
|
+ slave_1:
|
|
|
+ url: jdbc:mysql://192.168.1.203:3311/slim
|
|
|
+ username: root
|
|
|
+ password: 123
|
|
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
+ slave_2:
|
|
|
+ url: jdbc:mysql://192.168.1.203:3312/slim
|
|
|
+ username: root
|
|
|
+ password: 123
|
|
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
+ # redis 配置
|
|
|
+ redis:
|
|
|
+# # 地址
|
|
|
+ host: 192.168.1.203
|
|
|
+# # 端口,默认为6379
|
|
|
+ port: 6378
|
|
|
+# feign 配置
|
|
|
+feign:
|
|
|
+ client:
|
|
|
+ config:
|
|
|
+ default:
|
|
|
+ logger-level: full
|
|
|
+ httpclient:
|
|
|
+ # 开启feign对httpclient的支持
|
|
|
+ enabled: true
|
|
|
+ # 最大连接数
|
|
|
+ max-connections: 200
|
|
|
+ # 每个路径的最大连接数
|
|
|
+ max-connections-per-route: 50
|
|
|
+
|
|
|
+#调用算法接口
|
|
|
+algorithm:
|
|
|
+ creat:
|
|
|
+ # 将所需要生成图谱的文件,传给算法的接口
|
|
|
+ url: http://192.168.1.150:8900/data_access
|
|
|
+
|
|
|
+#PageHelper 分页插件配置
|
|
|
+pagehelper:
|
|
|
+ helperDialect: mysql
|
|
|
+ reasonable: true
|
|
|
+ supportMethodsArguments: true
|
|
|
+ params: count=countSql
|