From: Felix Ableitner Date: Fri, 5 Jun 2020 15:07:38 +0000 (+0200) Subject: Limit memory usage for pictshare and iframely X-Git-Url: http://these/git/%22%7Burl%7D/%7B%60https:/%24%7Bi.domain%7D%60%7D?a=commitdiff_plain;h=8257b040be3b43a4419611ee712f2e3237d63a72;p=lemmy.git Limit memory usage for pictshare and iframely --- diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index 615423a5..f66a5986 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -1,4 +1,4 @@ -version: '3.3' +version: '2.2' services: postgres: @@ -32,6 +32,7 @@ services: volumes: - ./volumes/pictshare:/usr/share/nginx/html/data restart: always + mem_limit: 100m iframely: image: dogbin/iframely:latest @@ -40,3 +41,4 @@ services: volumes: - ./iframely.config.local.js:/iframely/config.local.js:ro restart: always + mem_limit: 100m