mage2docker icon indicating copy to clipboard operation
mage2docker copied to clipboard

feat: add compose file for database entrypoint volume mount

Open griest024 opened this issue 3 years ago • 1 comments

PR Checklist

Please check if your PR fulfills the following requirements:

  • [x] The commit message follows our guidelines: https://github.com/graycoreio/mage2docker/blob/master/CONTRIBUTING.md#commit
  • [ ] Tests for the changes have been added (for bug fixes / features)
  • [ ] Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the new behavior?

Adds an optional database compose file that mounts a directory into the container root. This directory is very useful for importing DB backups.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

griest024 avatar Jan 03 '23 04:01 griest024

this doesn't work in my testing

griest024 avatar Jan 03 '23 18:01 griest024