Use minio s3 for docker registry


I tried the aws s3 settings to use local minio s3 storage for docker registry but those are not working , where can I see all the possible configuration parameters for s3 compatible storage , and how can I migrate the existing images to that storage from lcoal file system.