docker-minio-dev/readme.md

1.5 KiB

MinIO Docker Setup

This repository provides a quick and easy setup to create a MinIO instance using Docker Compose.

Prerequisites

  • Docker
  • Docker Compose

Getting Started

  1. Clone the repository:

    git clone <your-repository-url>
    cd <your-repository-folder>
    
  2. Copy the .env.example file to create a new .env file. This will allow you to set environment variables for the MinIO instance:

    cp .env.example .env
    
  3. Update the .env file with your desired credentials:

    ROOT_USER=<your-root-user>
    ROOT_PASS=<your-root-password>
    
  4. Start the MinIO instance:

    docker-compose up -d
    

    MinIO will now be available at http://localhost:9000. Use the ROOT_USER and ROOT_PASS specified in your .env file to log in.

Configuration

The .env file should contain the following variables:

  • ROOT_USER: The root username for the MinIO instance.
  • ROOT_PASS: The root password for the MinIO instance.

Useful Resources

Stopping the MinIO Instance

To stop and remove the containers, use:

docker-compose down

License

This project uses the MinIO software, which is licensed under the Apache License 2.0.