Selfhost Platform · ready now
Run Platform as a private control plane
Use this path when a team wants private routing, catalog, token, and console management. selfhost:profiles first lists built-in profiles, deploy directories, services, and host ports, and --json makes the same profile selector data available to consoles, dashboards, or scripts; selfhost:quickstart gives the copy-paste command sequence for the selected profile, and --json lets management surfaces render those steps; selfhost:plan gives the selected profile purpose, deploy paths, services, URLs, safety checks, and notes, and --json lets generated docs, dashboards, or management scripts consume that map; selfhost:readiness -- --all gives a read-only readiness matrix for every built-in profile, while selfhost:readiness combines selected-profile files, .env, secret hygiene, public-stack origin/routes, URLs, host ports, and next commands into a deployment overview, and both forms can use corepack pnpm --silent run ... --json for clean JSON in CI, dashboards, or management scripts; selfhost:doctor then diagnoses local tools, profile files, .env, and secret/public-origin hygiene, and --json lets diagnostic panels show blockers; selfhost:init creates or hardens the .env with strong generated secrets, while corepack pnpm --silent run selfhost:init -- --json emits created/hardened metadata, secret hygiene, warnings, and next commands without printing secret values or URL prose; selfhost:summary gives a read-only one-screen overview of deploy paths, URLs, host ports, secret status, and next commands, and --json lets dashboards render that overview card; selfhost:urls shows URLs before startup, and --json lets dashboards or deployment scripts consume the URL inventory; selfhost:ports shows host ports before startup, and --json lets dashboards or deployment scripts consume the declared port inventory; selfhost:ops-report writes a non-secret handoff report with URLs, host ports, and secret status, and --json lets dashboards or management scripts consume the same handoff data; selfhost:preflight checks compose config, routes, and secret hygiene before services start, and --json lets deployment controllers consume the same gate; selfhost:status summarizes Docker compose service state, secret hygiene, and health endpoints after startup, and --json lets dashboards or management scripts consume runtime blockers; selfhost:config validates Docker compose config, and --json gives CI, dashboards, or management scripts pass/fail, blockers, and stderr metadata while omitting compose stdout that may contain environment values; selfhost:security-review is the pre-exposure review, and --json lets dashboards or deployment controllers consume blockers and the route contract; selfhost:audit-export saves audit evidence; selfhost:backup-plan emits a non-executing backup plan, and --json lets recovery rehearsal scripts consume the backup directory, steps, and next validation command; selfhost:backup-validate checks backup artifacts, and --json lets recovery rehearsal scripts consume file status and blockers; selfhost:restore-plan explains recovery rehearsal, and --json emits ordered recovery steps without running them; selfhost:rotate-plan emits a non-executing secret rotation checklist, and --json lets operator runbooks render backup-first, dry-run, confirm, restart, and smoke steps; selfhost:rotate --json / --confirm --json emits secret rotation dry-run or confirmed rotation metadata without printing new secret values.