Replace MinIO with GarageHQ S3; Upgrade MongoDB to v8#79
Open
clayauld wants to merge 7 commits intostreetwriters:masterfrom
Open
Replace MinIO with GarageHQ S3; Upgrade MongoDB to v8#79clayauld wants to merge 7 commits intostreetwriters:masterfrom
clayauld wants to merge 7 commits intostreetwriters:masterfrom
Conversation
- Replaced `notesnook-s3` (MinIO) with `garage` service in docker-compose. - Configured Garage for single-node operation via generated `garage.toml`. - Added `MIGRATION.md` with step-by-step instructions for initialization, key generation, and CORS setup. - Updated `notesnook-server` environment variables to point to the new Garage service. - Ensured non-interactive compatibility for initialization commands.
…DB 8.0 support - Replaced `notesnook-s3` (MinIO) with `garage` service in docker-compose. - Updated `notesnook-db` to `mongo:8.0` for fresh installs. - Added `MIGRATION.md` with step-by-step instructions for initialization, key generation, bucket aliasing, and CORS/Public Policy setup. - Added `MONGO_UPGRADE.md` guide for safely upgrading existing MongoDB 7.0 instances to 8.0. - Configured Garage via generated `garage.toml` to avoid host mounts. - Updated `notesnook-server` environment variables to point to the new Garage service. - Ensured Cloudflare and Public Access instructions are explicit for correct image loading.
…e migration guide to reflect this change and improve command output.
… recommend its use.
Replace MinIO with GarageHQ S3 for Notesnook. Upgrade MongoDB to v8
Contributor
|
Thanks for this! |
Author
|
You're welcome. I posted this comment yesterday on the Issue thread: Looks like a community fork of MinIO may be the real solution here: https://github.com/pgsty/minio I have not tested it, but this is likely the easiest migration path. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change migrates the S3 backend of the Notesnook stack from MinIO to GarageHQ (v2.1.0).
It includes:
docker-compose.garage.yml: The updated Docker Compose file with the Garage service configured to generate its own config on startup (avoiding volume mounts for config). It sets up ports 3900 (S3), 3901 (RPC), and 3902 (Web).MIGRATION.md: A comprehensive guide detailing the migration process, including:garage layoutandbucketcommands via SSH.This setup ensures full compatibility with the Notesnook web app by enabling website access and CORS on the attachments bucket.