mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
add cpu and memory limit to sonarr
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user