feat(infra): smart build memory check and baseline monitoring script

build-app.sh now checks available RAM before builds and only stops
monitoring containers when free memory is below 3 GB threshold.
New memory-baseline.sh script measures per-container and per-category
RAM usage for capacity planning.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-29 15:07:20 +02:00
parent 2b448419ba
commit f5cd77b2b0
10 changed files with 550 additions and 14 deletions

View file

@ -3,8 +3,10 @@ FROM sveltekit-base:local AS builder
ARG PUBLIC_BACKEND_URL=http://manadeck-server
ARG PUBLIC_MANA_CORE_AUTH_URL=http://mana-auth:3001
ARG PUBLIC_API_URL=http://manadeck-server
ENV PUBLIC_BACKEND_URL=$PUBLIC_BACKEND_URL
ENV PUBLIC_MANA_CORE_AUTH_URL=$PUBLIC_MANA_CORE_AUTH_URL
ENV PUBLIC_API_URL=$PUBLIC_API_URL
COPY apps/manadeck/apps/web ./apps/manadeck/apps/web