Give postgresql more memory

Fixes #14
This commit is contained in:
Girish Ramakrishnan
2016-08-30 17:17:29 -07:00
parent 1f1e299939
commit b214bd5d52
2 changed files with 3 additions and 3 deletions

View File

@@ -179,8 +179,8 @@ function startPostgresql(callback) {
const cmd = `docker run --restart=always -d --name="postgresql" \
--net cloudron \
--net-alias postgresql \
-m 100m \
--memory-swap 200m \
-m 256m \
--memory-swap 512m \
-v "${dataDir}/postgresql:/var/lib/postgresql" \
-v "${dataDir}/addons/postgresql_vars.sh:/etc/postgresql/postgresql_vars.sh:ro" \
--read-only -v /tmp -v /run "${tag}"`;