fix
This commit is contained in:
parent
0062ebdbac
commit
1380115e72
@ -24,6 +24,8 @@ public class MinioOSGatewayImpl implements ObjectStorageGateway {
|
||||
|
||||
private final ObjectStorageProperties objectStorageProperties;
|
||||
|
||||
@Value("${local.minio.endpoint:http://localhost:19000}")
|
||||
private String localMinioEndpoint;
|
||||
|
||||
public MinioOSGatewayImpl(
|
||||
@Value("${minio.endpoint:http://s3.wisdompulse.cn}") String endpoint,
|
||||
@ -37,7 +39,7 @@ public class MinioOSGatewayImpl implements ObjectStorageGateway {
|
||||
.build();
|
||||
// 为了提升上传的速度,创建本地 minio 客户端
|
||||
this.localMinioClient = MinioClient.builder()
|
||||
.endpoint("http://localhost:19000")
|
||||
.endpoint(localMinioEndpoint)
|
||||
.credentials(accessKey, secretKey)
|
||||
.build();
|
||||
this.objectStorageProperties = objectStorageProperties;
|
||||
|
||||
@ -40,4 +40,7 @@ mybatis-plus.global-config.db-config.logic-delete-field=deleted
|
||||
mybatis-plus.global-config.db-config.id-type=auto
|
||||
|
||||
# Redis 开关控制
|
||||
knowledge.base.redis.enable=false
|
||||
knowledge.base.redis.enable=false
|
||||
|
||||
# 对象存储相关
|
||||
local.minio.endpoint=http://s3.wisdompulse.cn
|
||||
Loading…
x
Reference in New Issue
Block a user