1.5 KiB
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
-
Clone the repository:
git clone <your-repository-url> cd <your-repository-folder>
-
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
-
Update the
.env
file with your desired credentials:ROOT_USER=<your-root-user> ROOT_PASS=<your-root-password>
-
Start the MinIO instance:
docker-compose up -d
MinIO will now be available at
http://localhost:9000
. Use theROOT_USER
andROOT_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
- MinIO GitHub Repository - For more details on MinIO and its development.
- MinIO Documentation - Official documentation for running MinIO in containers.
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.