-
Notifications
You must be signed in to change notification settings - Fork 27
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
🐛 Remove quotes around "/data" in MINIO_VOLUMES var #5351
🐛 Remove quotes around "/data" in MINIO_VOLUMES var #5351
Conversation
Leaving quotes around this path, makes docker compose translate this into '"/data"', which generates a path with quotes in it, and makes minio store data in its container instead of the minio volume
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5351 +/- ##
========================================
- Coverage 87.5% 87.4% -0.1%
========================================
Files 1096 1313 +217
Lines 46981 54034 +7053
Branches 632 1172 +540
========================================
+ Hits 41132 47258 +6126
- Misses 5718 6526 +808
- Partials 131 250 +119
Flags with carried forward coverage won't be shown. Click here to find out more. |
For future reference: docker/compose#2854 |
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.
thanks!
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.
Thank you!
Leaving quotes around this path, makes docker compose translate this into '"/data"', which generates a path with quotes in it, and makes minio store data in its container instead of the minio volume
What do these changes do?
Remove the quotes around "/data" in docker compose
How to test
(at least for Docker Compose version v2.24.5)
Enable minio in a local deployment. Run:
make up-prod
Put some data in the minio store, but for example uploading some file to a local osparc study. Run:
make down; make leave; make down;
Next time when run make up-prod, the data in Minio is gone.
One can also attach to the minio container with portainer, and verify the location of the data. After the fix it should be in /data, before the fix the data will be in a directory called '"' in the /
Dev Checklist
DevOps Checklist