RocketChat / feature-requests

This repository is used to track Rocket.Chat feature requests and discussions. Click here to open a new feature request.
21 stars 9 forks source link

will the FileUpload support backblaze? #298

Open zhanggaoxuan opened 4 years ago

zhanggaoxuan commented 4 years ago

will the FileUpload support backblaze? it's cheap to storage the file

lucasbasquerotto commented 4 years ago

I think that the only thing it needs actually is to allow an endpoint in the S3 configuration, which would allow BackBlaze, Digital Ocean Spaces, or even a self hosted minio cluster, among others S3 compatible services. It's weird that something like that is not possible, because the solution should be trivial and straightforward, and most services that support S3 also supports S3 compatible services if the endpoint is provided, unless the Rocket.Chat team tried to integrate with S3-like services but there was some kind incompatibility, or the s3 library used doesn't support specifying an endpoint.

Update

It seems that Minio is supported, so I think other S3 compatible services are supported, haven't tried yet tough. The S3 endpoint is the field Bucket URL:

Override URL to which files are uploaded. This URL is also used for downloads, unless youset a CDN.