docs: document manager memory safeguards and wire them into the image

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-10-19 05:24:05 +02:00
1 parent eb24e21df7
commit 0d38b3950c
7 files changed
+63 -1

No files matched your search

+3
View File
@@ -41,5 +41,8 @@ COPY --from=build /repo/apps/web/dist apps/web/dist
WORKDIR /repo/apps/server
ENV NODE_ENV=production
# Hard V8 heap ceiling, above MANAGER_MEMORY_LIMIT_MB (the soft limit the app enforces itself):
# a leak ends in a crash + restart by the compose restart policy instead of swapping the host.
ENV NODE_OPTIONS=--max-old-space-size=768
EXPOSE 3000
CMD ["node", "dist/index.js"]