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. Restore rslave mount propagation for Linux users.
  • Cleanup fix: Fix mon clean to remove orphaned containers that docker compose down misses (containers stuck in "Created" state)
  • Image tag handling: Respect PGAI_TAG environment variable in local-install

Test plan

  • Tested mon clean properly removes all containers including orphaned ones
  • Tested mon local-install on macOS - node-exporter is skipped, no blocking error
  • Verified data flows to both VictoriaMetrics and PostgreSQL after install
  • Verified PGAI_TAG env var is respected

Relates to: https://gitlab.com/postgres-ai/platform/-/issues/346

🤖 Generated with Claude Code

Edited by Nikolay Samokhvalov

Merge request reports

Loading