Deploy MinIO S3 Object Storage with Docker Compose
High-performance AWS S3-compatible object storage for database backups, media, and AI datasets.
quay.io/minio/minio:latest1. Production docker-compose.yml Configuration
Copy this stack definition or deploy directly from your Vexlo Cloud console with automatic Let's Encrypt TLS and persistent volume mounts.
services:
minio:
image: quay.io/minio/minio:latest
restart: unless-stopped
ports:
- "9000:9000"
environment:
- MINIO_ROOT_USER=${MINIO_ROOT_USER:-minioadmin}
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD:-change-this-strong-password}
- MINIO_BROWSER_REDIRECT_URL=${MINIO_BROWSER_REDIRECT_URL:-https://console.minio.yourdomain.com}
volumes:
- app_data:/data
volumes:
app_data:2. Required Environment Variables
| Variable | Default / Example | Description |
|---|---|---|
| MINIO_ROOT_USER | minioadmin | Root administrator access key ID. |
| MINIO_ROOT_PASSWORD | change-this-strong-password | Root administrator secret access key (min 8 chars). |
| MINIO_BROWSER_REDIRECT_URL | https://console.minio.yourdomain.com | Public URL for the MinIO Web Console (port 9001). |
MinIO S3 Object Storage Self-Hosting FAQs
How much RAM is required to self-host MinIO S3 Object Storage in production?
MinIO S3 Object Storage requires a minimum of 1 GB RAM (Pro recommended). On Vexlo Cloud Pro (₹149/mo via UPI in India or $5/mo globally), you get 2 vCPU, 3 GB RAM, and 2 managed databases—more than enough headroom for production workloads.
How do I expose MinIO S3 Object Storage with automatic HTTPS/SSL on Vexlo Cloud?
Deploy the quay.io/minio/minio:latest container on Vexlo Cloud, set the exposed port to 9000, and attach your custom domain in the Domains tab. Vexlo automatically provisions and renews Let's Encrypt TLS certificates.
How is persistent data backed up for MinIO S3 Object Storage?
Mount /data to a persistent Docker volume and connect Vexlo Cloud's automated S3 / Cloudflare R2 backup scheduler to snapshot your database daily or weekly.
More 1-Click Docker Templates
View all 25 templates →n8n Workflow Automation
Self-hosted fair-code workflow automation with 400+ integrations and AI agent nodes.
Uptime Kuma
Self-hosted uptime monitoring dashboard with HTTP, TCP, DNS, and Telegram/Discord alerts.
PocketBase
Single-binary Go backend with embedded SQLite, real-time subscriptions, auth, and file storage.
Supabase Self-Hosted
Open-source Firebase alternative with PostgreSQL, GoTrue Auth, PostgREST, Realtime, and Studio.