What Is MinIO?
MinIO is a high-performance, S3-compatible object storage server. It is designed for large-scale data infrastructure and works as a drop-in replacement for S3 in any application. MinIO is ideal for storing backups, media files, logs, and application data on your own Breeze.
Prerequisites
- A Breeze with at least 2 GB RAM running Ubuntu 22.04+
- Docker and Docker Compose installed
- Sufficient disk space for your storage needs
Docker Compose Setup
mkdir -p ~/minio && cd ~/minioversion: "3.8"
services:
minio:
image: minio/minio:latest
container_name: minio
restart: unless-stopped
command: server /data --console-address ":9001"
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio_data:/data
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=ChangeThisPassword
volumes:
minio_data:Launch and Access
docker compose up -dThe API endpoint is available at port 9000 and the web console at port 9001. Log in to the console at http://your-breeze-ip:9001 using the root credentials.
Basic Usage
Install the MinIO client to interact from the command line:
mc alias set mybreeze http://your-breeze-ip:9000 minioadmin ChangeThisPassword
mc mb mybreeze/my-bucket
mc cp myfile.tar.gz mybreeze/my-bucket/Integration Tips
- Use MinIO as an S3 backend for backup tools like Restic or Duplicati
- Configure application media uploads to write directly to MinIO buckets
- Set up bucket lifecycle policies for automatic object expiration
- Enable versioning on critical buckets for data protection