Skip to content

Conversation

panda2134
Copy link

@panda2134 panda2134 commented May 19, 2022

As many object-storage service providers other than Amazon provide S3-compatible APIs, being able to configure custom endpoints different from s3.amazonaws.com allows several third-party providers (e.g. Tencent Cloud, Alibaba Cloud) to be used. For example, after setting endpoint to cos.ap-guangzhou.myqcloud.com, Tencent Cloud object storage can act as a drop-in replacement for Amazon S3.

This commit adds a new key in AWSOptions called endpoint. If specified, it will be used for all AWS S3 SDK calls, as well as calculating the path used for frontend preview.

panda2134 added 5 commits May 17, 2022 00:41
allows the user to specify a function for calculating `key`
field in the database. if the `recordPath` property is set,
on-the-fly path calculation at frontend is disabled, and the
function is then used to calculate `key` in the database.
@panda2134
Copy link
Author

Also, PR#34 might be covered by this, since minio is compatible with S3.

@serembon
Copy link

@dziraf any chance to this MR be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants