|
|
@@ -8,9 +8,9 @@ export class MinioService {
|
|
|
|
|
|
constructor() {
|
|
|
this.client = new Client({
|
|
|
- endPoint: process.env.MINIO_ENDPOINT || 'localhost',
|
|
|
- port: parseInt(process.env.MINIO_PORT || '9000'),
|
|
|
- useSSL: process.env.MINIO_USE_SSL === 'true',
|
|
|
+ endPoint: process.env.MINIO_HOST || 'localhost',
|
|
|
+ port: parseInt(process.env.MINIO_PORT || '443'),
|
|
|
+ useSSL: process.env.MINIO_USE_SSL !== 'false',
|
|
|
accessKey: process.env.MINIO_ACCESS_KEY || 'minioadmin',
|
|
|
secretKey: process.env.MINIO_SECRET_KEY || 'minioadmin'
|
|
|
});
|