-
Notifications
You must be signed in to change notification settings - Fork 748
simple deployment via docker-compose #1043
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Ali Mehraji <a.mehraji75@gmail.com>
Signed-off-by: Ali Mehraji <a.mehraji75@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces a simplified Docker Compose deployment configuration and fixes a critical volume syntax bug in the existing docker-compose.yml.
- Corrects volume path expansion syntax from
{0..3}to{0...3}in docker-compose.yml - Adds docker-compose-simple.yml for minimal RustFS deployment with object caching enabled
- Includes a volume permission fixer service to handle ownership for multiple volumes
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| docker-compose.yml | Fixes volume syntax from {0..3} to {0...3} (two dots to three dots) for proper path expansion in RUSTFS_VOLUMES environment variable |
| docker-compose-simple.yml | Adds new simplified Docker Compose configuration with RustFS, Redis (optional via profile), in-memory object cache enabled, and init container for volume permissions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- object caching is in memory - remove redis service and volumes Signed-off-by: Ali Mehraji <a.mehraji75@gmail.com>
|
@houseme Let me know if you need refactoring of the main |
|
/LGTM /cc @houseme |
Type of Change
.in volumes indocker-compose.ymlin Define 4 storage volumes environment.docker-compose-simple.ymlto deploy RustFS alongside Redis cache for objects without any observability and proxy services (profiles).RUSTFS_OBJECT_CACHE_TTL_SECS=300andRUSTFS_OBJECT_CACHE_ENABLE=truecache envs for the new docker-compose.volume-permission-helper.Summary of Changes
Add a simple Docker Compose file without any proxy and observability profiles.
Checklist
make pre-commitAdditional Notes
Thank you for your contribution! Please ensure your PR follows the community standards (CODE_OF_CONDUCT.md) and sign the CLA if this is your first contribution.