From: Dessalines <tyhou13@gmx.com>
Date: Fri, 5 Mar 2021 03:41:08 +0000 (-0500)
Subject: Adding more mem limits
X-Git-Url: http://these/git/%24%7BgetStaticDir%28%29%7D/styles/static/git-logo.png?a=commitdiff_plain;h=ff2c71a74a79e8e0fa2a46c185998e1af74d8778;p=lemmy.git

Adding more mem limits
---

diff --git a/ansible/templates/docker-compose.yml b/ansible/templates/docker-compose.yml
index 435fb281..0ce715c6 100644
--- a/ansible/templates/docker-compose.yml
+++ b/ansible/templates/docker-compose.yml
@@ -53,6 +53,7 @@ services:
     volumes:
       - ./iframely.config.local.js:/iframely/config.local.js:ro
     restart: always
+    mem_limit: 200m
 
   postfix:
     image: mwader/postfix-relay
diff --git a/docker/dev/docker-compose.yml b/docker/dev/docker-compose.yml
index da6eef53..a23f1e0e 100644
--- a/docker/dev/docker-compose.yml
+++ b/docker/dev/docker-compose.yml
@@ -57,3 +57,4 @@ services:
     volumes:
       - ../iframely.config.local.js:/iframely/config.local.js:ro
     restart: always
+    mem_limit: 200m