#!/bin/sh

docker run --rm \
  --entrypoint /bin/sh \
  pgsty/minio:latest -c "
    sleep 5;
    /usr/bin/mc alias set dockerminio http://172.18.188.199:9000 admin Meta815899;
    /usr/bin/mc mb dockerminio/pub-bucket;
    /usr/bin/mc anonymous set public dockerminio/pub-bucket
  "