Manage the repo-scoped shared services platform.
docktree platform <subcommand>
Manages the "platform tier" — shared services declared in shared.services of docktree.yml that run once and serve all worktrees (e.g., a shared Postgres with per-database tenancy).
| Subcommand | Description |
|---|---|
up | Start the repo-scoped platform stack (must be run from main repo root) |
down | Stop the repo-scoped platform stack (preserves data) |
status | Show platform stack state (running or not) |
tenants | List tenant databases across all instances |
logs | Stream platform service logs (pass service name to filter) |
clean | Stop platform, drop ALL tenant DBs, remove network. Destructive. |
| Flag | Description |
|---|---|
-y, --yes | Skip confirmation (required in non-interactive mode) |
--dry-run | Show what would be dropped without making changes |
Start the shared platform:
docktree platform up
List tenant databases:
docktree platform tenants
Stream logs for a specific service:
docktree platform logs postgres