Quickstart
Set up muster in an existing project and deploy a service with a health check.
Before you start
- muster installed (Installation).
- A project with something to deploy: a Dockerfile, a compose file, Kubernetes manifests, or an app with a package.json, go.mod or requirements.txt.
- The tools your stack needs (docker, kubectl…) on this machine.
Deploy your first service
- 1
Set up the project
Terminalcd your-project muster setupThe wizard scans the project, proposes services and a deploy order, and writes
muster.jsonplus one hook folder per service in.muster/hooks/. Without a terminal, usemuster setup --scan; add--dry-run --jsonto preview. - 2
Review and approve the hooks
Terminalmuster hooks approveHooks are shell scripts that run with your credentials, so each machine approves them before they run.
- 3
Preview, then deploy
Terminalmuster deploy --dry-run muster deployEach service runs its
deploy.sh, then its health check. If one fails you see the last log lines, the likely cause and a menu: retry, roll back, skip or abort. - 4
Check on it
Terminalmuster status muster logs api --tail 200Run
musterwith no command for the dashboard.
If a deploy fails
Terminal
muster explain # why the last deploy failed, offline
muster doctor --fix # check the project and fix the safe thingsEvery failure muster recognises is listed in Troubleshooting.