Merge pull request #47 from bparees/emptydir
use an emptydir volume for mongodb instead of no volume
This commit is contained in:
commit
3f08ff2b61
|
@ -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": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue