use an emptydir volume for mongodb instead of no volume

This commit is contained in:
Ben Parees 2016-04-26 15:39:57 -04:00
parent 21c5ab2cbf
commit eaed1b5e10

View file

@ -330,6 +330,20 @@
"limits": {
"memory": "${MEMORY_MONGODB_LIMIT}"
}
},
"volumeMounts": [
{
"name": "${DATABASE_SERVICE_NAME}-data",
"mountPath": "/var/lib/mongodb/data"
}
]
}
],
"volumes": [
{
"name": "${DATABASE_SERVICE_NAME}-data",
"emptyDir": {
"medium": ""
}
}
]