Getting started
How Podmaker works
you ── Web UI / CLI (imp) / API / AI agent (MCP)
│ HTTPS
┌──────▼───────┐
│ Control Plane │ projects, secrets, approvals, audit log
└──────▲───────┘
│ mTLS, outbound from each server (no inbound ports)
┌────────────┼────────────┐
imp-agent imp-agent imp-agent
app-01 edge-01 builder-01
(Docker) (Caddy) (BuildKit)
- The Control Plane is the panel you installed. It decides; it never SSHes into servers.
- Each managed server runs imp-agent. The agent connects out to the Control Plane over mutual TLS, picks up tasks and reports results. Servers need no open inbound port for management.
- Every change runs as an operation with steps, logs and a final status. Operations are recorded in the audit log.
- Risky changes need an approval from a human. This covers production deployments, database restores, deleting a database binding and bootstrapping Kubernetes.
Vocabulary
| Term | Meaning |
|---|---|
| Organization | Everything belongs to one. Data of other organizations is invisible (row-level security). |
| Server | A machine Podmaker manages, with roles: worker (runs apps), proxy (edge: domains/TLS), builder (builds images), manager (cluster manager). |
| Project | An application, optionally linked to a Git repository. |
| Environment | production, staging or development instance of a project on a server or cluster. It has its own config, secrets, service bindings and deployments. |
| Deployment | Rolling out an image (pinned by @sha256 digest) to an environment. Health-checked; rolled back automatically on failure. |
| Revision | A successful deployment you can roll back to. |
| Service | A managed PostgreSQL or Redis instance. A binding gives an environment its own database/user on it. |
| Domain / route | A hostname on an edge server and where its traffic goes. |
First login
- Open the panel URL from the installer. The first password is also in
/root/podmaker-admin.txton the server. - Settings → Profile: change the password.
- Settings → Security: enable two-factor authentication and, if you like, a passkey.
Add more people with php artisan podmaker:user:create <email> on the server.
Each new user gets their own organization. Public sign-up is off by default.
The panel
| Page | What you do there |
|---|---|
| Dashboard | Health at a glance: servers, agents, recent operations. |
| Servers | Register servers, get the install command, see containers, restart them, read logs. |
| Projects | Projects, environments, deployments; approve or reject production deployments. |
| Services | Managed PostgreSQL/Redis, bindings, deletion approvals. |
| Domains | Domains on edge servers and their routes. |
| Operations | Every long-running task with its steps and output. |
| Audit log | Who did what and when (append-only). |
| API access | API tokens for the CLI, CI and AI agents. |
| Help | This guide. |
Builds, provider accounts, clusters and backups are driven from the CLI or API today.
The CLI
podmaker covers everything the API offers. Install it with one line. It
downloads the right build for your Mac or Linux machine from your panel and
verifies its checksum:
curl -fsSL https://panel.podmaker.sh/cli | sh
# API access → create token (or on the server: php artisan podmaker:token:create you@example.com)
podmaker login --url https://panel.podmaker.sh/api/v1 --token-stdin <<< "$TOKEN"
podmaker whoami
podmaker server list
Useful everywhere:
-o json/-o yamlfor scripts.--wait 0to return immediately; otherwise commands wait for the operation and show its result.-yskips confirmation prompts. Permissions and approvals still apply.- Exit codes are stable, so the CLI is safe to use in CI.
A first project in ten minutes
podmaker server list # the panel server, if you enrolled it
podmaker project create hello
podmaker project env-create hello production --kind production --server podmaker-control-plane
cat <<'JSON' | podmaker project env-config hello production -
{
"compose": "services:\n web:\n image: ${IMP_IMAGE}\n ports: [\"127.0.0.1:8100:80\"]\n",
"web": { "service": "web", "port": 80, "health_path": "/" }
}
JSON
podmaker deploy nginx:1.27-alpine@sha256:<digest> --project hello --env production # waits for your approval
# approve in Projects, or: podmaker deploy approve <deployment-id>
podmaker domain create hello.podmaker.sh --edge podmaker-control-plane
podmaker domain route hello.podmaker.sh --upstream 127.0.0.1:8100
web.port is the port inside the container. The health check runs in the
container with wget or curl. The ports line publishes the app on the
server’s loopback only, and the domain route sends public traffic there.
The next pages explain each step: servers, projects and deployments, domains.