mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-06 05:49:12 +02:00
* fix(selfhost): fail early with actionable message when Docker Compose v2 is missing The selfhost make targets hardcoded 'docker compose' (Compose v2). On hosts with only the legacy v1 'docker-compose' (e.g. apt install docker-compose) the plugin is absent, so 'docker compose -f ... pull' fell through to the top-level docker CLI and failed with the cryptic 'unknown shorthand flag: f in -f', which users mistook for a Docker version problem (MUL-3458). Add a REQUIRE_COMPOSE preflight that checks 'docker compose version' and prints an actionable English install hint, and route every selfhost invocation through $(COMPOSE). v1 fallback is intentionally not supported: docker-compose.selfhost.yml uses compose-spec syntax (top-level name:, no version:) that v1 cannot parse. Co-authored-by: multica-agent <github@multica.ai> * fix(selfhost): shorten Compose v2 hint and reject legacy v1 Address review on PR #4354: - Drop Linux-specific install commands from the runtime error; point to the OS-agnostic https://docs.docker.com/compose/install/ and keep the message short and stable. Per-OS steps belong in docs, not the Makefile. - Reject Compose v1 explicitly: the preflight now also requires the reported version to be v2, so COMPOSE=docker-compose no longer passes and then fails later on the compose-spec file. Co-authored-by: multica-agent <github@multica.ai> --------- Co-authored-by: Lambda <lambda@multica.ai> Co-authored-by: multica-agent <github@multica.ai> Co-authored-by: Lambda <agent@multica.ai>
15 KiB
15 KiB