mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-26 06:20:20 +00:00
Limit memory usage for pictshare and iframely
This commit is contained in:
parent
7c0ea6cfa7
commit
8257b040be
1 changed files with 3 additions and 1 deletions
4
docker/prod/docker-compose.yml
vendored
4
docker/prod/docker-compose.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
version: '3.3'
|
version: '2.2'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
|
@ -32,6 +32,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/pictshare:/usr/share/nginx/html/data
|
- ./volumes/pictshare:/usr/share/nginx/html/data
|
||||||
restart: always
|
restart: always
|
||||||
|
mem_limit: 100m
|
||||||
|
|
||||||
iframely:
|
iframely:
|
||||||
image: dogbin/iframely:latest
|
image: dogbin/iframely:latest
|
||||||
|
@ -40,3 +41,4 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./iframely.config.local.js:/iframely/config.local.js:ro
|
- ./iframely.config.local.js:/iframely/config.local.js:ro
|
||||||
restart: always
|
restart: always
|
||||||
|
mem_limit: 100m
|
||||||
|
|
Loading…
Reference in a new issue