Meteor-Files icon indicating copy to clipboard operation
Meteor-Files copied to clipboard

Custom Endpoint for MinIO ?

Open xet7 opened this issue 2 years ago • 2 comments

Hi, does the included AWS:S3 SDK include possibility for custom endpoint?

It seems that @menelike at https://github.com/veliovgroup/Meteor-Files/issues/742#issuecomment-619541976 tested with MinIO, but I don't know how.

Or do I need to use minio npm package https://min.io/docs/minio/linux/developers/javascript/minio-javascript.html ?

xet7 avatar Dec 26 '22 15:12 xet7

@xet7 I believe if you will follow this doc and replace S3 related code with minio code it would work smoothly.

You can fork, copy/paste, edit the document and send it as PR, making this package better :)

dr-dimitru avatar Dec 26 '22 21:12 dr-dimitru

I found that AWS:S3 SDK has option for endpoint: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Endpoint.html

I'll try does it work with MinIO.

xet7 avatar Jan 05 '23 08:01 xet7