mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add memory limit to Invidious as a workaround for memory leak
This commit is contained in:
parent
34788bd655
commit
204231c4b5
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
version: '3'
|
version: '2.4'
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
web:
|
web:
|
||||||
|
|
@ -24,6 +24,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: repo
|
context: repo
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
|
mem_limit: 2g
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.yml:/invidious/config/config.yml
|
- ./config.yml:/invidious/config/config.yml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue