MinIO
Manage file storage with MinIO
MedusaJS Minio File Storage Provider
๐๏ธ Seamless MinIO file storage integration for MedusaJS - Self-hosted, S3-compatible object storage
๐ Features
- Direct integration with MinIO object storage
- Support for public and private buckets
- Configurable CDN and upload options
- Flexible file key and metadata generation
- Environment variable-driven configuration
๐๏ธ Architecture Overview
Key Capabilities
- Self-hosted object storage
- S3-compatible API
- Secure file management
- Flexible deployment options
๐ฆ Installation
Install the package using npm:
Or using yarn:
๐ Configuration
Plugin Setup
๐ง Advanced Configuration Options
Customization Examples
Custom File Key Generation
Custom Metadata
๐ Environment Variables
Required Environment Variables:
- : MinIO server URL
- : CDN endpoint for public files
- : Default public bucket name
- : MinIO access key
- : MinIO secret key
Optional Environment Variables:
- : Separate private bucket name
๐ก๏ธ Security Considerations
- Use strong, unique access keys
- Implement bucket-level access controls
- Rotate credentials regularly
- Use HTTPS for all communications
๐ค Contributing
Contributions are welcome! Please submit pull requests or open issues.

