aliyun OSS
S3 services are not available in China.
Because Amazon does not have a server available in China
For Chinese people, we can not normally access foreign networks. If we want to access foreign networks, we need to connect VPN, which is very difficult for ordinary people. In China, people use Aliyun OSS to store files.
Https://github.com/aliyun/aliyun-oss-php-sdk/blob/master/README.md
@cdwmhcc @benhaynes there is a aliyun-oss flysystem adapter
how can I contribute?
@cdwmhcc @benhaynes there is a aliyun-oss flysystem adapter
how can I contribute?
nice going!
Hey @benydc — Thank you!! It'd be great to get a better understanding of how to create more custom storage adapters (one of our extension types). Here are our (incomplete) docs for storage adapters. Our previous lead dev left the team before finishing. :/
https://docs.directus.io/extensions/storage-adapters.html#core-adapters
https://docs.directus.io/advanced/api/configuration.html#storage
@bjgajjar @hemratna — do you know if we support custom storage adapters as of now? If so, how can we create them? I'd love to get these docs updated!
I don't see any storage directory in here, so maybe it's not supported yet? Or maybe it's all done through the config?
https://github.com/directus/api/tree/master/public/extensions/custom
@benhaynes the core needs to be touched to create the adapter, I created a pull request with the changes:
https://github.com/directus/api/pull/939
I have tested it and it works:

Thanks @benydc !! I commented my thoughts on the PR.
@benhaynes the core needs to be touched to create the adapter, I created a pull request with the changes:
939
I have tested it and it works:
Thank you very much!!!
@cdwmhcc @benhaynes there is a aliyun-oss flysystem adapter
how can I contribute?



I configured it.
But it doesn't seem to work.

I'm sorry,My fault
It works normally and has been uploaded successfully.

But how do I define Bucket Domain?
Join me with a lot of thumbnail sizes. It's slow to use js for processing.
@cdwmhcc in the api.php replace value in root_url with https://macwo.oss-cn-qingdao.aliyuncs.com/uploads/_/originals
I don't understand your last phrase, what do you mean?
@cdwmhcc in the api.php replace value in
root_urlwithhttps://macwo.oss-cn-qingdao.aliyuncs.com/uploads/_/originalsI don't understand your last phrase, what do you mean?
OKK,I see,haha
Thank you!
@cdwmhcc in the api.php replace value in
root_urlwithhttps://macwo.oss-cn-qingdao.aliyuncs.com/uploads/_/originalsI don't understand your last phrase, what do you mean?

The originals root URL is working properly
But how to set up the thumbnail root URL
To achieve better clarity/visibility, we are now tracking feature requests within the Feature Request project board.
This issue being closed does not mean it's not being considered.
Most helpful comment
@benhaynes the core needs to be touched to create the adapter, I created a pull request with the changes:
https://github.com/directus/api/pull/939
I have tested it and it works:
