From 8f9cb6b611c933887586df35f6f760286871b155 Mon Sep 17 00:00:00 2001 From: "Gan, Jimmy" Date: Mon, 6 Apr 2026 01:20:05 +0800 Subject: [PATCH] feat: add resource limits to production dashboard - Add 2 CPU and 2GB memory limits to production dashboard - Prevents resource exhaustion on NAS - Matches dev deployment resource constraints --- dashboard/docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dashboard/docker-compose.yml b/dashboard/docker-compose.yml index 0e9c448..39c8141 100644 --- a/dashboard/docker-compose.yml +++ b/dashboard/docker-compose.yml @@ -28,6 +28,11 @@ services: restart: unless-stopped ports: - "127.0.0.1:4000:4000" + deploy: + resources: + limits: + cpus: '2.0' + memory: 2G environment: - DOCKER_HOST=tcp://docker-socket-proxy:2375 - GITEA_URL=http://gitea:3000