# AI cluster memory limits — HARD caps, containers are OOM-killed and auto-restarted # by Docker rather than consuming host memory. ai-cluster is the primary OOM suspect # (unbounded Python workers, no limits since deployment). # # Architectural note: compute workloads here should migrate to SOLARIA (GPU node). # Until migration: contain the blast radius with per-container limits. # # Pre-cutover: service-ops-worker still mounts compose/env from old paths. # After cutover and git pull, these overrides are removed and base compose paths are used. services: codex-worker: mem_limit: 64m openclaw: mem_limit: 128m planner-worker: mem_limit: 64m service-ops-worker: mem_limit: 64m # Pre-cutover: override bind mounts to keep pointing at old dockeruser paths volumes: - /home/dockeruser/docker/ai-cluster/docker-compose.yml:/app/docker-compose.yml:ro - /home/dockeruser/docker/ai-cluster/.env:/app/.env:ro - /var/run/docker.sock:/var/run/docker.sock:rw redis: mem_limit: 32m mosquitto: mem_limit: 32m