Merge pull request #47 from bparees/emptydir
use an emptydir volume for mongodb instead of no volume
This commit is contained in:
commit
3f08ff2b61
1 changed files with 14 additions and 0 deletions
|
@ -330,6 +330,20 @@
|
||||||
"limits": {
|
"limits": {
|
||||||
"memory": "${MEMORY_MONGODB_LIMIT}"
|
"memory": "${MEMORY_MONGODB_LIMIT}"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"volumeMounts": [
|
||||||
|
{
|
||||||
|
"name": "${DATABASE_SERVICE_NAME}-data",
|
||||||
|
"mountPath": "/var/lib/mongodb/data"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"volumes": [
|
||||||
|
{
|
||||||
|
"name": "${DATABASE_SERVICE_NAME}-data",
|
||||||
|
"emptyDir": {
|
||||||
|
"medium": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue