mirror of
https://github.com/Dasemu/remote-mcp-manager.git
synced 2026-11-28 00:07:08 +00:00
feat: enforce per-container memory/CPU limits
CONTAINER_MEMORY_MB and CONTAINER_CPUS (defaults 512/1) are now applied to every installed MCP container's HostConfig instead of leaving them unbounded. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5e8397bcd9
commit
ccb7fcd842
5 files changed
+47
-1
No files matched your search
@@ -13,6 +13,8 @@ services:
|
||||
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
|
||||
SESSION_SECRET: ${SESSION_SECRET}
|
||||
MASTER_KEY: ${MASTER_KEY}
|
||||
CONTAINER_MEMORY_MB: ${CONTAINER_MEMORY_MB:-512}
|
||||
CONTAINER_CPUS: ${CONTAINER_CPUS:-1}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./data:/repo/data
|
||||
|
||||
Reference in new issue
Block a user