set memory limits for addons
mysql, postgresql, mongodb - 100m each mail, graphite, redis (each instance) - 75m For reference, in yellowtent: mongo - 5m postgresql - 33m mysql - 3.5m mail: 26m graphite - 26m redis - 32m
This commit is contained in:
@@ -677,6 +677,8 @@ function setupRedis(app, callback) {
|
||||
redisVarsFile + ':/etc/redis/redis_vars.sh:ro',
|
||||
redisDataDir + ':/var/lib/redis:rw'
|
||||
],
|
||||
Memory: 1024 * 1024 * 75, // 100mb
|
||||
MemorySwap: 1024 * 1024 * 75 * 2, // 150mb
|
||||
// On Mac (boot2docker), we have to export the port to external world for port forwarding from Mac to work
|
||||
// On linux, export to localhost only for testing purposes and not for the app itself
|
||||
PortBindings: {
|
||||
|
||||
Reference in New Issue
Block a user