-
-
Save fabidick22/18707ddf03847f15ccd608161361d660 to your computer and use it in GitHub Desktop.
Configure minIO with s3 as gateway (IAM role)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MINIO_PORT=9000 | |
MINIO_BUCKET_NAME=aws-bucket-name | |
MINIO_REGION=us-east-1 | |
#Custom user and password | |
MINIO_ROOT_USER=mySuperUser | |
MINIO_ROOT_PASSWORD=mySuperPasswd123! | |
FILESYSTEM_DEFAULT=minio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:GetBucketLocation" | |
], | |
"Resource": [ | |
"arn:aws:s3:::aws-bucket-name" | |
] | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:PutObject", | |
"s3:GetObject", | |
"s3:ListBucket", | |
"s3:DeleteObject", | |
"s3:HeadBucket" | |
], | |
"Resource": [ | |
"arn:aws:s3:::bibix-backend-filesystem-prod", | |
"arn:aws:s3:::bibix-backend-filesystem-prod/*" | |
] | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Be sure to use this url (https://s3.amazonaws.com). If you use this url (https://s3.us-east-2.amazonaws.com) you will probably have problems | |
# More details: https://github.com/minio/minio/issues/13668 | |
CMD ["gateway","s3","https://s3.amazonaws.com"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment