diff options
author | 2017-03-07 14:22:33 +0100 | |
---|---|---|
committer | 2017-03-14 13:53:06 +0000 | |
commit | 3c51cad7c99de162fd9ab06f975b637892247c94 (patch) | |
tree | 4db21386368ecfd6840618304264028249b8a4c5 /environments | |
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 'environments')
0 files changed, 0 insertions, 0 deletions