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 https://git.openharbor.io/Open-Harbor/docker-minio-dev -
Copy the
.env.examplefile to create a new.envfile. This will allow you to set environment variables for the MinIO instance:cp .env.example .env -
Update the
.envfile with your desired credentials:ROOT_USER=<your-root-user> ROOT_PASS=<your-root-password> -
Start the MinIO instance:
docker-compose up -dMinIO will now be available at
http://localhost:9000. Use theROOT_USERandROOT_PASSspecified in your.envfile 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.