fix(cli): macOS compatibility, cleanup, and image tag handling
Summary
-
macOS compatibility: Skip node-exporter on macOS (uses
--scale node-exporter=0) since mounting host root filesystem/fails on Docker Desktop. Restorerslavemount propagation for Linux users. -
Cleanup fix: Fix
mon cleanto remove orphaned containers thatdocker compose downmisses (containers stuck in "Created" state) -
Image tag handling: Respect
PGAI_TAGenvironment variable inlocal-install
Test plan
-
Tested
mon cleanproperly removes all containers including orphaned ones -
Tested
mon local-installon macOS - node-exporter is skipped, no blocking error - Verified data flows to both VictoriaMetrics and PostgreSQL after install
-
Verified
PGAI_TAGenv var is respected
Relates to: https://gitlab.com/postgres-ai/platform/-/issues/346
Edited by Nikolay Samokhvalov