Toastie 0fd66c26d1 fixed formatting vor 5 Jahren
..
.env.template fb8712f1d9 initial vor 5 Jahren
README.md 0fd66c26d1 fixed formatting vor 5 Jahren
docker-compose.yml fb8712f1d9 initial vor 5 Jahren

README.md

MioIO MC command line

This convenient docker-compose.yml will set a your MinIO connection as per .env and make it available under the name myminio in the container.

Setup your tenant / credentials

cp .env.template .env
vi .env

Run the container as one-shot

docker-compose run minio-mc

Typical commands

# buckets
mc mb myminio/documents   # create
mc ls myminio             # list

# dealing with users
mc admin user add myminio johndoe 30RandomAlphaNumericCharacters
mc admin policy set myminio readwrite user=johndoe
mc admin user list myminio
mc admin user info myminio johndoe
mc admin user remove myminio dominik_zino2

# policies
mc admin policy list myminio 
mc admin policy info readonly
mc admin policy info writeonly
mc admin policy info readwrite

For a full list see: https://docs.min.io/docs/minio-client-complete-guide.html