Limit memory usage for pictshare and iframely

This commit is contained in:
Felix Ableitner 2020-06-05 17:07:38 +02:00
parent 7c0ea6cfa7
commit 8257b040be

View file

@ -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