Skip to content

Overview

Task-oriented. Each section is something you actually do, with the commands and the output they produce. For why the tool is shaped this way — the down/verify asymmetry, the profile rule, the no-state-store decision — read ../README.md first; this guide assumes it.

Every pstack block below was produced by running the command against the code in this repo; the output is what it printed. The exceptions, marked where they appear: the CI workflow in section 8 (GitHub-side, not runnable here), the init walkthrough in section 7 (it needs a real host with a real domain), the two-host blocks in section 7f, the cloud blocks in section 7g, and the abridged JSON in section 6.

I want to… Go to
get pstack on my PATH 1. Install & first run
write the smallest spec that works 2. Write your first spec
add a database branch / queue namespace / images 3. Add your first axis
deploy, inspect, tear down 4. Up, status, down
know my teardown actually works 5. Prove your teardown works
a dashboard and an HTTP API 6. Run the API and UI
stand up the control stack on a host 7 → pstack init
choose a TLS mode (HTTP-01 or DNS-01) 7 → Choose a TLS mode
shared vs isolated, requires, --force, submitting deployments 7. The control plane
give my team accounts that cannot do everything 7e. The four roles
move deployments to another host, forwarding CI and visitors meanwhile 7f. Move stacks to another host
let pstack add and remove worker machines through OpenTofu 7g. Worker scaler
deploy from GitHub Actions 8. Wire it into CI
a nightly leak sweep, orphan hunting 9. Day-2 operations
every flag, route, env var, exit code 10. Reference