# SOLARIA host overrides for ai-cluster. # # Two jobs here: # 1. memory ceilings # 2. the one bind mount whose source path depends on where the repo is checked # out on this node (/home/oskar/homelab-codex-ws) # # Memory sizing — measured on the running VPS stack, 2026-07-27 (`docker stats`): # codex-worker 7.2 MiB | planner-worker 10.1 MiB | service-ops-worker 7.0 MiB # openclaw 24.6 MiB | redis 4.8 MiB | mosquitto 4.2 MiB # The limits below are ~10x observed RSS: headroom for a task burst, not a # response to observed pressure. The 64m/128m values from the earlier VPS-era # manifest were never validated and are too tight for a Python process that # briefly holds a response payload. # # No `oom_score_adj` here: that convention is a VPS rule (4 GiB, no swap). # SOLARIA has 64 GiB — the cgroup ceiling alone is the right tool. services: openclaw: mem_limit: 256m codex-worker: mem_limit: 256m planner-worker: mem_limit: 256m service-ops-worker: mem_limit: 256m volumes: # Repo checkout path on SOLARIA. service_ops_worker.py runs # `docker compose ps|restart` from /app against this file. - /home/oskar/homelab-codex-ws/services/ai-cluster/docker-compose.yml:/app/docker-compose.yml:ro redis: mem_limit: 64m mosquitto: mem_limit: 64m