diff options
author | Jiri Stransky <jistr@redhat.com> | 2017-03-07 14:22:33 +0100 |
---|---|---|
committer | Jiri Stransky <jistr@redhat.com> | 2017-03-14 13:53:06 +0000 |
commit | 3c51cad7c99de162fd9ab06f975b637892247c94 (patch) | |
tree | 4db21386368ecfd6840618304264028249b8a4c5 /extraconfig/tasks | |
parent | cd88f4d8e928daf0676a4a9b6f36d93df7a6aa7c (diff) |
Keep existing data for containerized MongoDB
We used named Docker volume for MongoDB storage, which meant that when
moving from bare metal to containerized, we lost data and reinitialized
the storage from scratch.
With this commit we keep the data by mounting the original data into the
container. We also need make sure that file ownership is correct
according to the uid/gid used within MongoDB container image.
Change-Id: I86ef2cb37a068b767462d6d50fe451389b7cbb58
Diffstat (limited to 'extraconfig/tasks')
0 files changed, 0 insertions, 0 deletions