add cpu and memory limit to sonarr

This commit is contained in:
2019-10-17 07:49:44 +11:00
parent ab67c13cfd
commit 410b271cd4
+4 -4
View File
@@ -1,4 +1,4 @@
version: "3.5"
version: "2.4"
services:
sonarr:
image: linuxserver/sonarr
@@ -21,9 +21,9 @@ services:
restart: unless-stopped
networks:
- gateway_default
limits:
cpus: "0.50"
memory: 512M
mem_limit: 1024m
mem_reservation: 128m
cpu_percent: 20
networks:
gateway_default:
external: true