veliovgroup/Meteor-Files

Custom Endpoint for MinIO ?

Opened this issue · 2 comments

xet7 commented

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

It seems that @menelike at #742 (comment) 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 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 :)

xet7 commented

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.