Merge pull request #47 from bparees/emptydir

use an emptydir volume for mongodb instead of no volume
This commit is contained in:
Ben Parees 2016-04-26 16:44:34 -04:00
commit 3f08ff2b61
1 changed files with 14 additions and 0 deletions

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": ""
}
}
]