From 48ac16bb2fea55405f6627a7121c74daff3b0ae8 Mon Sep 17 00:00:00 2001 From: Liosha84 Date: Sat, 17 Oct 2026 22:49:52 +0200 Subject: [PATCH] fix(compose): limit frontend memory to 64m On Jambotron the project memory budget is split equally between services without their own limit, so nginx got 341 MB while the backend was at 80% of its share. With 64m for the frontend the backend and the database get about 480 MB each. Co-Authored-By: Claude Opus 5.5 --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index ce8f488..639611e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -48,6 +48,9 @@ services: condition: service_healthy ports: - "8081:80" + # nginx со статикой хватает 64 МБ. На Jambotron бюджет памяти проекта делится поровну между + # сервисами без своего лимита — так backend и база получат больше + mem_limit: 64m networks: - demo-decoupled -- 2.54.0