diff --git a/src/main/java/com/knowledge/base/infrastructure/south/minio/MinioOSGatewayImpl.java b/src/main/java/com/knowledge/base/infrastructure/south/minio/MinioOSGatewayImpl.java index 15c3ebb..a425238 100644 --- a/src/main/java/com/knowledge/base/infrastructure/south/minio/MinioOSGatewayImpl.java +++ b/src/main/java/com/knowledge/base/infrastructure/south/minio/MinioOSGatewayImpl.java @@ -38,7 +38,7 @@ public class MinioOSGatewayImpl implements ObjectStorageGateway { // 为了提升上传的速度,创建本地 minio 客户端 String activeProfile = System.getProperty("spring.profiles.active", "docker"); this.localMinioClient = MinioClient.builder() - .endpoint(Set.of("windows", "docker").contains(activeProfile) ? "http://localhost:9000" : "http://s3.wisdompulse.cn") + .endpoint(Set.of("windows", "docker").contains(activeProfile) ? "http://localhost:19000" : "http://s3.wisdompulse.cn") .credentials(accessKey, secretKey) .build(); this.objectStorageProperties = objectStorageProperties;