mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 17:40:38 +00:00
RustFS Deployment Examples
This directory contains practical deployment examples and configurations for RustFS.
Available Examples
MNMD (Multi-Node Multi-Drive)
Complete Docker Compose example for deploying RustFS in a 4-node, 4-drive-per-node configuration.
Features:
- Proper disk indexing (1..4) to avoid VolumeNotFound errors
- Startup coordination via
wait-and-start.shscript - Service discovery using Docker service names
- Health checks with alternatives for different base images
- Comprehensive documentation and verification checklist
Use Case: Production-ready multi-node deployment for high availability and performance.
Quick Start:
cd docs/examples/mnmd
docker-compose up -d
See also:
- MNMD README - Detailed usage guide
- MNMD CHECKLIST - Step-by-step verification
Other Deployment Examples
For additional deployment examples, see:
-
docker/- Root-level examples directory with:docker-quickstart.sh- Quick start script for basic deployments, Quickstart script (basic /dev/prod/status/test/cleanup)enhanced-docker-deployment.sh- Advanced deployment scenarios, Advanced deployment script with multiple scenarios and detailed logs (basic /dev/prod/all/status/test/logs/cleanup)enhanced-security-deployment.sh- Production-ready scripts with TLS, throttling, and secure credential generationdocker-comprehensive.yml- Docker Compose with multiple profiles, Docker Compose files containing multiple profiles (basic / dev / production / enterprise / api-only / nginx, etc.)- Usage example:
# Rapid development environment ./docs/examples/docker/docker-quickstart.sh dev # Start dev profile using Docker Compose docker-compose -f docs/examples/docker/docker-comprehensive.yml --profile dev up -d # Secure deployment ./docs/examples/docker/enhanced-security-deployment.sh- Note: If the original CI or other documents refer to the old path
examples/, please update it todocs/examples/docker/. Relative links within the document are already in this README.
- Note: If the original CI or other documents refer to the old path
-
.docker/compose/- Docker Compose configurations:docker-compose.cluster.yaml- Basic cluster setupdocker-compose.observability.yaml- Observability stack integration
Related Documentation
Contributing
When adding new examples:
- Create a dedicated subdirectory under
docs/examples/ - Include a comprehensive README.md
- Provide working configuration files
- Add verification steps or checklists
- Document common issues and troubleshooting
Support
For issues or questions:
- GitHub Issues: https://github.com/rustfs/rustfs/issues
- Documentation: https://rustfs.com/docs