I want a quick test S3. Start minio with docker-compose and create a state with an initial bucket.

I think this is probably the fastest. If you place multiple directories under a directory, it will become a bucket.

docker-compose.yml


  s3:
    image: minio/minio
    volumes:
      - "./data/s3:/s3"
    ports:
      - "9000:9000"
    environment:
      MINIO_ACCESS_KEY: hoge
      MINIO_SECRET_KEY: super-hoge
    entrypoint: sh
    command: -c "mkdir -p /s3/bucket-test && /usr/bin/minio server /s3"

reference

https://github.com/minio/minio/issues/4769

Recommended Posts

I want a quick test S3. Start minio with docker-compose and create a state with an initial bucket.
I want to write a loop that references an index with Java 8's Stream API
I want to make a list with kotlin and java!
I want to make a function with kotlin and java!
Create a blog with Jekyll and GitHub Pages @ Initial Settings
Create a parent-child relationship form with form_object (I also wrote a test)
I want to create a dark web SNS with Jakarta EE 8 with Java 11
I want to ForEach an array with a Lambda expression in Java
[Ruby] I want to make an array from a character string with the split method. And vice versa.
Let's create a TODO application in Java 2 I want to create a template with Spring Initializr and make a Hello world
I want to write a unit test!
I want to control the start / stop of servers and databases with Alexa
Rails6 I want to make an array of values with a check box