2 Commits
Author SHA1 Message Date
Liosha84 ae1411d63f Merge pull request 'fix(compose): mem_limit 64m для frontend' (#4) from fix/frontend-mem-limit into main 2026-10-17 22:50:08 +02:00
Liosha84andClaude Opus 5.5 48ac16bb2f 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 <noreply@anthropic.com>
2026-10-17 22:49:52 +02:00
+3
View File
@@ -48,6 +48,9 @@ services:
condition: service_healthy condition: service_healthy
ports: ports:
- "8081:80" - "8081:80"
# nginx со статикой хватает 64 МБ. На Jambotron бюджет памяти проекта делится поровну между
# сервисами без своего лимита — так backend и база получат больше
mem_limit: 64m
networks: networks:
- demo-decoupled - demo-decoupled