Levelrail is an open source, self-hosted PaaS that fits in one Go binary. It is a lighter alternative to Coolify, Dokku, Dokploy, CapRover and Kamal, and it gives you the Heroku, Vercel, Netlify or Railway workflow on servers you own: push to git, get a build, HTTPS and a URL.
Running your own apps usually means gluing together Docker, a reverse proxy, certificates, CI, backups, a database and some monitoring, then keeping all of it patched. Levelrail is that glue, already assembled. The control plane idles at about 200 MB of RAM (measured), so a small VPS or a spare homelab machine is enough, and you can add more servers later with the node agent (beta). It suits solo developers, small teams, homelabs and agencies, and coding agents can drive it through an MCP server.
flowchart LR
push["git push"] --> build["Build"] --> deploy["Deploy"] --> live["Live on HTTPS"]
deploy -. "fails its health check" .-> back["Rolled back"]
Get started: install on a Linux server in one line, try the live demo first, or follow First 15 minutes. Coming from Coolify, Dokku, Dokploy, CapRover, Kamal, Heroku, Railway, Netlify, Vercel or Cloud Run? The side by side pages cover each: Coolify, Dokku, Dokploy, CapRover, Kamal, Heroku, Railway, Netlify, Vercel, Cloud Run.
v1.x. Single-server is production ready, multi-node is beta. Levelrail works with the Kubernetes clusters and cloud accounts you already have, and every feature carries a stable, beta or experimental label in Feature status.
Install
On a Linux server (amd64 or arm64, systemd), run this as a user that can use sudo:
curl -fsSLO https://github.com/glincker/levelrail/releases/latest/download/install.sh && sudo sh install.sh
The installer is saved to disk before it runs, so you can read it first. It checks the host, installs the control plane binary and a systemd unit, and prints a setup link for the admin account. If Docker or Podman is already there it uses it, and it installs Docker (through get.docker.com) only when neither is found. Re-running it is safe. sudo sh install.sh check shows what it would do without changing anything.
Other ways to install. Release assets on GitHub are the primary source: every binary, install.sh, install-cli.sh and checksums.txt ship with each release.
- Homebrew (CLI):
brew install glincker/tap/levelrail-cli
- Docker (server):
docker pull ghcr.io/glincker/levelrail:latest (see Installing for the full run command with volumes and ports)
- Verified install: check the installer against the signed
checksums.txt before running it, see the next section.
Download, verify and run as three separate steps, with no pipe to a shell.
curl -fsSLO https://github.com/glincker/levelrail/releases/latest/download/install.sh
curl -fsSLO https://github.com/glincker/levelrail/releases/latest/download/checksums.txt
grep ' install.sh$' checksums.txt | sha256sum -c -
sudo sh install.sh
On macOS use shasum -a 256 -c - instead of sha256sum -c -. checksums.txt is signed with cosign keyless (checksums.txt.sigstore.json sits next to it). See Installing for how to check the signature.
Quickstart
You need a Linux server (amd64 or arm64) with systemd and root. Levelrail runs apps in containers: the installer uses the Docker or Podman already on the host and installs Docker only if neither is found. Open ports 80 and 443. Install first with one of the options in Install.
- Open the setup link the installer prints and choose a password. That creates the admin account.
- In the dashboard, copy the login line from the Connect your CLI card and run it (it looks like
levelrail-cli login --api-url http://127.0.0.1:8080 --code ABCD-EF23).
- Deploy your first app:
levelrail-cli import https://github.com/your-org/your-app --deploy
If something fails, run levelrail-cli doctor and see Installing. Next: First 15 minutes. CLI only: brew install glincker/tap/levelrail-cli or npx levelrail-cli --help.
Want a look first? Try the live demo, a hosted read-only demo of the dashboard with fictional data (how it runs).
Where you can use it
| Surface |
Start |
Docs |
| Web dashboard |
Open the setup link the installer prints |
First 15 minutes |
| CLI |
brew install glincker/tap/levelrail-cli, npx levelrail-cli --help or npm install --global levelrail-cli |
Installing |
| HTTP API |
Bearer token, /api/v1 |
API reference |
| Terraform and OpenTofu |
source = "glincker/levelrail" |
Terraform provider |
| MCP and coding agents |
259 tools |
MCP |
| Mobile API (beta, off by default) |
Enable in Settings, Beta features |
Mobile API |
| Desktop runtime on Mac (experimental) |
Private Linux VM on your Mac |
Desktop runtime |
What you get
Maturity follows Feature status.
| Area |
In one line |
Works with |
| Deploy |
Git push from GitHub, GitLab, Bitbucket, Gitea or Forgejo, readiness-gated rollouts, one-step rollback, previews and canaries |
|
| Templates |
570+ templates in the catalog, 346 with a recorded real-engine pass |
|
| Edge and HTTPS |
Automatic certificates including wildcards, firewall, bot lists, per-domain headers and redirects |
|
| Nodes and clouds |
Join any Linux host with a token, provision nodes at 6 clouds (beta), existing Kubernetes clusters as targets (experimental) |
|
| Databases and backups |
13 engines, backups to S3-compatible, R2 or local disk, restore drills |
|
| Observability |
Built-in metrics, log search, alerts to 18 channel kinds, OTLP ingest, status page. Grafana reads logs through a Loki-compatible API |
|
| Security and access |
OAuth and OIDC sign-in, passkeys, TOTP, IAM policies, hash-chained audit log |
|
| Automation |
CLI, HTTP API, Terraform and OpenTofu provider, 259 MCP tools for coding agents |
|
- Git push or webhook deploys from GitHub, GitLab, Bitbucket, Gitea and Forgejo. See Git integrations and Git push deploy.
- Dockerfile, Compose and Railpack builds (Railpack is beta) with a build queue. See Build Center.
- Readiness-gated rollouts and one-step rollback. See Zero-downtime deploys and Rollback.
- Canaries and split tests. See Canary deploys and Split testing.
- Preview environments per pull request: stable on GitHub, beta on GitLab and Bitbucket. See Deploy previews.
- Deploy approvals and deploy freezes. See Deploy safety.
- Functions in Node, Python or Go (beta). See Functions.
- 574 catalog entries (565 active, 9 deprecated) in 22 categories.
- 346 entries have a recorded real-engine pass.
- 228 entries are marked preview: installable, with no recorded pass yet.
- Embedded ingress with automatic TLS through HTTP-01 and DNS-01 wildcards.
- Per-domain headers, forwarders, geo rules, caching and redirects. See Domain traffic controls.
- Firewall rules, IP lists, browser challenge, bot lists and attack mode. See Firewall.
- Per-app rate limits and deny lists (beta). See Abuse defense.
- Round-robin balancing across replicas. See Load balancing.
- Private networks and a WireGuard mesh (beta). See Multi-node.
- Provision nodes at Hetzner, DigitalOcean, AWS, Azure, GCP or Oracle Cloud (beta).
- Join any Linux host with a single-use token over mTLS. See Add a node anywhere.
- DNS at Cloudflare and Route53, image registries on ECR, Artifact Registry and ACR. See Cloud integrations for per-cloud status.
- Works with the clusters and cloud accounts you already have (experimental): connect existing Kubernetes clusters and deploy to them, off by default. See Kubernetes clusters.
- 13 database engines in code. 9 are live-verified. 4 (Meilisearch, Qdrant, Typesense, Memcached) are built but not yet live-verified.
- Backups to S3-compatible, R2 or local targets. See Backups and storage.
- Restore drills that prove a backup works. See Prove your backups work.
- Point-in-time recovery for Postgres.
- Built-in metrics, log search and log archive. See Log explorer and Log archive.
- OTLP ingest. See OTLP ingest.
- Public status page. See Status page.
- Deploy traces and traffic export. See Deploy trace and Traffic export.
- Alerts to 18 notification channel kinds. See Alerts.
- HTTP, TCP, heartbeat and TLS uptime monitors (experimental). See Monitors.
- Passwords, passkeys and TOTP.
- OAuth sign-in with 20 providers plus generic OIDC. See OIDC.
- SAML and SCIM (beta, off by default). See SAML and SCIM.
- IAM policies and teams. See Teams and roles.
- Hash-chained audit log. See Audit log.
- Encrypted secrets. See Environment and secrets.
- Signed releases. See Verify a release.
levelrail-cli and an HTTP API. See API reference.
- Terraform and OpenTofu provider. See Terraform provider, the Terraform registry and the OpenTofu registry.
- YAML platform as code (experimental). See Platform as code.
- CI pipelines. See Pipelines.
- 11 per-app integrations: Sentry, PostHog, GlitchTip, OneUptime, Plausible, Datadog, Axiom, Better Stack, LogSnag, Bugsnag and New Relic. See Alerts.
- Signed plugins for notification channels. See Plugins.
- 259 MCP tools for coding agents. See MCP and Tool surface.
- A mail server template with mailboxes and DNS records (experimental). See Mail template.
All features, with maturity labels: docs/features.md.
Built for coding agents
259 MCP tools, scoped to the token's abilities, confirm-gated for writes and audited. Add the skill with npx skills add https://github.com/glincker/levelrail --skill levelrail, then ask your agent to deploy your repo. To install with an agent, paste this into Claude Code, Cursor or any agent that can run shell commands on your server:
Install Levelrail on this server: run `sudo sh install.sh` (download and verify it first, see [GitHub release](https://github.com/glincker/levelrail/releases/latest)).
Open the setup link it prints and tell me, because I choose the password myself.
Then run `levelrail-cli doctor` and `levelrail-cli status` and report anything that fails.
Do not write any token or password to a file or into this chat.
Production ready, with receipts
| Claim |
Evidence |
| Every feature labelled stable or beta |
Feature status |
| Survives failures |
Resilience |
| Measured, not promised |
Benchmarks |
| Tested against real containers |
CI and test/e2e |
| Signed releases |
Verify them |
| Honest about gaps |
Known limits |
What sets Levelrail apart
Each claim links to the page that backs it. The status column follows Feature status.
| What you get |
Status |
Evidence |
| A control plane that idles at about 200 MB of RAM, in one Go binary |
measured |
Performance, Benchmarks |
git push to your own server over HTTPS, no provider, webhook or SSH key (GitHub webhook deploys are stable) |
beta |
Deploy with git push |
| Pinned-image rollback, readiness-gated rollouts and automatic rollback on a post-deploy watch |
stable (latency signal beta) |
Deploy safety |
| Backups that are verified, with restore drills into a scratch resource |
Postgres stable, other engines beta |
Prove your backups work, Backups and storage |
| A hash-chained audit log you can verify, filter and export |
on by default |
Audit log |
| A node agent that dials out to the control plane over mTLS, so managed nodes need no inbound ports |
multi-node beta |
Architecture, Multi-node |
| An MCP server with ability-scoped tools and confirm-gated writes, never in the reconcile path |
beta |
MCP, Tool surface |
Moving from another platform: Migrate to Levelrail. Architecture notes: Comparison.
Questions people ask
What is Levelrail?
An open source (Apache 2.0) self-hosted PaaS in one Go binary. You push to git and it builds, deploys, serves HTTPS, rolls back and runs your databases on servers you own.
Is it an alternative to Coolify, Dokku or Dokploy?
They solve the same problem: deploying apps to your own servers. Levelrail is one Go binary whose control plane idles around 200 MB, and it comes with databases (backups and branches), preview environments, a multi-node agent (beta) and an MCP server. Side by side: Coolify, Dokku, Dokploy.
Can it replace Heroku, Vercel, Netlify or Railway?
For git push deploys, previews, HTTPS, rollbacks and databases on your own servers, yes. See the Heroku, Vercel, Netlify and Railway pages, and Migrate to Levelrail.
What does it run on?
Linux (amd64 or arm64, systemd), using Docker or Podman for containers. A small VPS or a homelab box is enough for a single server.
Does it work with Kubernetes and the cloud?
It can use existing Kubernetes clusters as deploy targets (experimental) and create nodes on cloud accounts you already have. Feature status shows where each feature stands.
Community
Discussions · Issues · Discord · support@levelrail.com · Security policy
If Levelrail saves you a weekend, a star helps other self-hosters find it.
Star history
Contributors
License
Apache 2.0, see LICENSE. Levelrail is built and maintained by GLINR Studios (Gagan Singh, aka GDS K S), who also make theSVG.