From 866f7f3c45c4bf162f6f379ca5e2c90959a87817 Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Tue, 10 Oct 2023 08:19:14 +0100 Subject: [PATCH] Reduce resources. --- services/unifi.hcl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/services/unifi.hcl b/services/unifi.hcl index ef13181..c9898b3 100644 --- a/services/unifi.hcl +++ b/services/unifi.hcl @@ -54,8 +54,8 @@ job "unifi" { } resources { - cpu = 512 - memory = 1500 + cpu = 200 + memory = 1024 } } @@ -76,6 +76,11 @@ job "unifi" { privileged = true cap_add = ["NET_ADMIN", "NET_BROADCAST", "NET_RAW"] } + + resources { + cpu = 50 + memory = 50 + } } } }