From 0637cc9edef13a8e5884253f335ca146c2cc35bf Mon Sep 17 00:00:00 2001 From: Junv Zhao Date: Thu, 17 Oct 2019 07:52:17 +1100 Subject: [PATCH] add mem and cpu limits to radarr --- radarr/docker-compose.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/radarr/docker-compose.yaml b/radarr/docker-compose.yaml index 1b557e6..4614d67 100644 --- a/radarr/docker-compose.yaml +++ b/radarr/docker-compose.yaml @@ -1,4 +1,4 @@ -version: "3.5" +version: "2.4" services: radarr: image: linuxserver/radarr @@ -19,6 +19,9 @@ services: # ports: # - 7878:7878 restart: unless-stopped + mem_limit: 1024m + mem_reservation: 128m + cpu_percent: 20 networks: - gateway_default networks: