Service-level `cpus` / `mem_limit` / `pids_limit` must match any `deploy.resources` values if both are present, or the file fails validation.
The `deploy.resources.limits` block is the swarm/orchestrator form — with a plain `docker compose up` it may be ignored or behave inconsistently; use service-level keys for non-swarm.
Setting `mem_limit` too low causes the container to be OOM-killed (exit code 137); set limits ~20-30% above observed peak usage.
`mem_limit` byte strings accept suffixes: b, k, m, g (or kb/mb/gb) — plain digits are warned/errored by some versions.
Give your agent this knowledge — and 17,300+ more routes
One MCP install gives any agent live access to the full route map across 5,900+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?