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

+8
View File
@@ -32,6 +32,14 @@ MASTER_KEY=change-me-to-a-random-string-of-at-least-32-characters
CONTAINER_MEMORY_MB=512
CONTAINER_CPUS=1
# Safeguards against a stuck upstream or a memory leak taking the host down (see docs/operations.md).
# Inactivity timeout (ms) on proxied MCP requests/streams
PROXY_TIMEOUT_MS=300000
# Max simultaneous proxied requests; beyond this the proxy answers 503
MAX_PROXY_REQUESTS=100
# The manager exits (and is restarted by compose) when its heap + external memory passes this. 0 disables.
MANAGER_MEMORY_LIMIT_MB=512
# Absolute path to an SSH dir (key + known_hosts) with clone access to the repos you'll
# install, mounted read-only into the manager container so `git clone ssh://...` works for
# private repos. Required only if you install from private/SSH repo URLs.