Skip to main content
The complete index of the Levelrail docs. For a self-hosted app gallery, see the template gallery.

Get started

Install and deploy

  • Levelrail documentation: Self-hosted deployment platform. Push to git, get a running app with TLS, logs, metrics and rollback. One Go binary, no Kubernetes.
  • First 15 minutes: A checklist for a new server: install, open the setup link, turn on HTTPS, deploy an app and take your first backup. Each step links to the full page.
  • What you need before you start: A plain-language checklist for installing Levelrail: a Linux server, a few ports, and optionally a domain. No Kubernetes, no prior DevOps experience.
  • Installing Levelrail: Requirements, then every supported way to get the Levelrail control plane running on Linux with install.sh, Docker, or source build.
  • Install from mainland China: Install and run Levelrail where github.com, ghcr.io or Docker Hub are slow or blocked: release base URL, Docker mirrors, a registry mirror prefix, a pinned version and signature checks.
  • Container runtimes: Which container runtimes Levelrail supports on a Linux server, how install.sh picks one, and the manual steps for Podman.
  • Install on a cloud VM: Copy-paste user data and startup scripts that install the control plane on a fresh AWS, Google Cloud, Azure, DigitalOcean or Hetzner VM, with the ports to open.
  • Cloud firewall rules: Copy-paste cloud firewall rules for DigitalOcean, Hetzner, AWS, Google Cloud, Oracle Cloud and Azure: ports 80 and 443, and optionally 8080 from your own IP.
  • Install on Oracle Cloud Always Free (Arm): Create an Always Free Arm VM on Oracle Cloud, open both firewall layers, install Levelrail, and what to know about capacity and idle reclamation.
  • Run it on your laptop: Start a private Levelrail instance on macOS or Linux with one command, deploy apps to name.localhost addresses, and reset it whenever you like.
  • Desktop runtime (managed VM): Run Levelrail in a private Linux VM on your Mac. Experimental, Apple silicon first. Apps run isolated from your files, with no host Docker install.
  • Getting started: Install Levelrail on a Linux server, sign in, and deploy your first app in about ten minutes, from the dashboard or the CLI.
  • Zero to HTTPS: From the install command to a trusted HTTPS address, first on a test address and then on your own domain, with what each failure means.
  • One command quickstart: Deploy a project with levelrail-cli up, which infers the name, port and build, then keep every advanced flag when you need it.
  • Deploy a Docker app to your own server: Deploy a Docker image to your own Linux server with Levelrail, attach a custom domain, ship a second version, and roll back in one command. About 10 minutes.
  • Server profiles: Choose minimal, standard or suite to decide which optional parts of the control plane start, and switch later without losing data.
  • Getting started: Install Levelrail on a Linux server, sign in, and deploy your first app in about ten minutes, from the dashboard or the CLI.

Add to your setup

  • Go live checklist: One guided checklist from a running app to https on your own domain, with live status, one action per step, and a timeline of what happened.
  • Domains and ingress: Automatic TLS, domain routing, WAF, rate limiting, and redirects, all embedded in the control plane, with no separate proxy to manage.
  • App ports and exposure: Change an app’s container port live, choose between proxy-only and direct IP and port access, and test reachability, without port fights between apps.
  • Tutorials: Step-by-step tutorials for self-hosting with Levelrail, from Docker deploys and Postgres to S3 backups, GitHub Actions, and built-in logs and metrics.
  • Connect an app to a managed Postgres database: Create a managed Postgres database on your own server, connect an app with one command, and confirm the connection string reaches the container.
  • Deploy to your own server from GitHub Actions: Build an image in GitHub Actions and deploy it to your own server with Levelrail on every push, failing the pipeline if the rollout fails. About 15 minutes.
  • Deploy a Next.js app to your own server: Deploy a Next.js app from a git repository to a server you run, with a domain, HTTPS, a health check and a rollback.
  • Environment variables and secrets: Masking, reveal policies, and protection for app environment variables and secrets.
  • Back up Postgres to S3 and test the restore: Send Postgres backups to S3, R2, or any S3-compatible bucket on a schedule, verify them, and prove the restore works on your own server.
  • Zero-downtime deploys with health checks: Add a readiness health check so a bad release fails before it takes over, read the structured failure, then fix it or roll back.
  • Debug an app with built-in logs and metrics: Find out why an app is failing or slow with Levelrail’s built-in log search and metrics, with no Grafana or Loki to install.
  • Get a ping when your Levelrail server stops: Point the off-host heartbeat at a monitor you control, so you are alerted when the control plane stops pinging, even if it cannot send its own alerts.
  • Send a crashloop alert to ntfy: Connect an ntfy topic as a notification channel, alert when an app restarts in a loop, and confirm that the alert reaches your phone.
  • Get a certificate behind CGNAT with DNS-01 and dynamic DNS: Get trusted certificates for a home server behind carrier-grade NAT, where the certificate authority cannot reach the server on port 80, using DNS-01 and dynamic DNS.
  • Multi-node quickstart: The short path to a second server, what has been verified on real infrastructure, and what to check before relying on the WireGuard mesh across hosts.
  • Self-host Vaultwarden on your own server: Self-host Vaultwarden, a Bitwarden-compatible password manager, with one Levelrail command, then add a domain and back up its data.
  • Troubleshooting: Fixes for the most common problems when deploying, logging in, or running Levelrail.
  • Troubleshooting by symptom: Start from what the dashboard shows. Each symptom lists what you see, why it happens, and the fix in the dashboard, the CLI and the API.
  • Doctor: One health check for the server, in the dashboard and the CLI, with a fix or a next step for every problem.
  • Fix-it engine: Turn a failing readiness or doctor check into a previewable, verifiable fix.

Guides

  • Guides: Task-focused Levelrail guides: compare it with Coolify, self-host Postgres with verified backups, ship zero-downtime deploys and run OpenClaw agents safely.
  • Minecraft on a small server: Run a Minecraft Java server on a small VM with Levelrail: rough memory sizing, TCP and UDP ports, the two firewall layers, and backups.
  • Coolify vs Levelrail for self-hosters: A fair Coolify vs Levelrail comparison for self-hosters: how each manages servers, what each does well, what Levelrail lacks, and how to choose between them.
  • Self-host Postgres with verified backups: Run managed Postgres on your own server and back it up to S3-compatible storage on a schedule, with a restore you have actually tested.
  • Zero-downtime deploys without Kubernetes: Ship containers to your own servers with no downtime and a fast rollback, using readiness probes, pinned images and freeze windows.
  • Control Levelrail from OpenClaw: Give an OpenClaw agent a least-privilege Levelrail token over MCP or the CLI, so it can read logs, deploy and roll back without changing guardrails.
  • Use your Mac mini or MacBook as a private LLM server: Run Ollama, LM Studio or an MLX server on a Mac, register it as an inference endpoint and serve it through Levelrail with scoped keys and limits.
  • Self-host Ollama with Open WebUI: Run Ollama and Open WebUI on your own server with Levelrail: HTTPS, generated settings, volume backups and rollback. Docker on a Mac cannot use the GPU.
  • Self-host n8n with Levelrail: Self-host n8n workflow automation with Levelrail: one-command deploy, a generated encryption key, HTTPS, volume backups, health-gated deploys and rollback.
  • Self-host Langflow with Levelrail: Self-host Langflow with Postgres on Levelrail: generated database and admin passwords, HTTPS, volume backups, health-gated deploys and rollback.
  • Self-host Flowise with Levelrail: Self-host Flowise, the drag-and-drop LLM flow builder, on Levelrail: generated admin password, HTTPS, volume backups, health-gated deploys and rollback.
  • Self-host OpenClaw with Levelrail: Self-host the OpenClaw agent gateway on Levelrail with a generated gateway token, HTTPS, volume backups and rollback, and the settings to review first.
  • Self-host Qdrant with Levelrail: Self-host Qdrant vector search on Levelrail: a generated API key, HTTPS through the ingress, volume backups, health-gated deploys and rollback.
  • Self-host LiteLLM Proxy with Levelrail: Self-host LiteLLM Proxy with Postgres on Levelrail: generated master key and database password, HTTPS, volume backups, health-gated deploys and rollback.
  • Run AI agents safely on your own server: What it takes to run AI agents on your own server: the risk, what Levelrail gives you today, the self-host AI guides, and what is not covered yet.
  • OpenClaw on Docker Compose or on Levelrail: A factual comparison of the OpenClaw template run with plain docker compose up on a VPS versus on Levelrail, with passed checks and known limits.
  • Use Ollama and Open WebUI with a Mac and Levelrail: Run Ollama natively on a Mac, register it as a Levelrail endpoint, and point Open WebUI at the gateway with a scoped key that has limits and expiry.

Announcements

How-to guides

Essentials

  • Troubleshooting: Fixes for the most common problems when deploying, logging in, or running Levelrail.
  • Doctor: One health check for the server, in the dashboard and the CLI, with a fix or a next step for every problem.
  • Doctor and import from the command line: Run the server checks, apply safe fixes, explain a failing check, and plan or create apps from a repository, an image, a config folder or a monorepo with levelrail-cli.
  • Email notifications: Choose an email provider for alert emails, password resets and invites, check your sender domain, send a test, and read the delivery log.
  • Email templates and messages: Edit every email the platform sends, build audiences, and send announcements with opt-outs, scheduling and delivery history.
  • Alert inbox: An in-app inbox of the alerts that reached you, with per-account read state, routing rules and an optional daily digest, plus the guardrails on mass actions.
  • Event webhooks: Push signed events to your own HTTPS endpoint when something changes, with retries, a dead letter state, a delivery log and one click replay.
  • Off-host heartbeat: The control plane calls a URL you choose while it is healthy. An outside monitor alerts when the calls stop, even if the whole server is down.
  • Attention center: How the dashboard surfaces what waits on an operator: CLI login approvals, deploy approvals, expiring tokens, failed data copies, overdue backups and renewals.

Deploying

  • Deploying and managing apps: Create, deploy, roll back, configure, promote, and operate an app on Levelrail, from the dashboard, CLI, or API.
  • Deploy from your computer: Deploy the current directory with one command, no git remote and no registry needed.
  • Drop deploy for static sites: Drag a folder or a .zip onto a static site and it goes live, with no git and no build.
  • Compose apps: Run a Docker Compose file as one app with per-service status, start order, rollback to an earlier compose file, teardown, and installable templates.
  • Runtime options: The allowlisted container options a service can set under runtime, with their bounds, and how compose keys map onto them.
  • App files: Ship inline config files with a service so apps that need a file on disk at start can run without a custom image.
  • UDP published ports: Publish a UDP port from a compose service directly on the host, with the accepted syntax, safety rules, errors and what is not supported yet.
  • New app wizard: How the New app wizard reads a repository, pre-fills build, port, health path, env keys and databases with evidence, and deploys with one click.
  • Importing apps: Import an app from a repo URL, a docker run command, an image, a compose file or a Dockerfile, review the deployment plan, then deploy it.
  • Static pages: Deploy static HTML sites directly from git with no container, served by the embedded ingress with full TLS and domain routing.
  • Static site routing rules: Redirects, rewrites, response headers, single page app fallback, a custom 404 page and clean URLs for a static site, published with each deploy.
  • Deploy safety: What stands between a deploy trigger and serving: readiness gate, drain, pinned rollback targets, post-deploy watch with auto rollback, and freeze windows.
  • Publish lock: Lock publishing on an app so what is live stays exactly as it is. New builds still run and finish, but wait as held builds until you publish them.
  • Deploy failures: The structured failure object every failed or blocked deploy carries, and what each failure code means.
  • Status reasons: Every reason a deploy can fail its gate or be rolled back, what it means and the next step.
  • Deploying through git host outages: What still deploys when GitHub, GitLab or your own git server is down, how the source cache works, and how to deploy from it.
  • Deploy trace: The step-by-step pipeline every deploy records, with or without a build, and how to read it in the dashboard, the CLI and the log stream.
  • Deploy event timeline: One screen per deploy that shows the whole story in order, from trigger and build to cutover, post-deploy watch and rollback, live and replayable.
  • Build performance: Cap build time and parallel builds, and read the per-app build duration trend and cache hit rate.
  • Build center: One place to see and control builds: the queue, running builds, history with duration and cache hit ratio, and the BuildKit cache of each node.
  • Scheduled deploys: Redeploy the latest commit on a branch on a cron schedule, or schedule a one-shot image or git ref deploy, with freeze windows and catch-up.
  • Pull request comment commands: Redeploy, roll back or check an app from a GitHub pull request comment. Limited to users with write access, off by default, with the same policy checks.
  • Scheduled jobs: Run commands on a cron schedule against your app, in a fresh container with the app’s env, secrets and volumes, with run history, logs, retries and alerts.
  • Scheduled and background functions: Call a path on your app on a cron schedule, wake it if it sleeps, and let long calls finish in the background with retries, overlap control and run history.
  • Jobs: Run a command once, to completion, with N completions, a parallelism cap, retries with exponential backoff and a final Succeeded or Failed status.
  • Image auto-update: Redeploy an image-based app automatically when its tag points at a new digest, with the same freeze and protection gates as a manual deploy.
  • Build hooks: Secret URLs that build and deploy an app when POSTed to, for headless CMS publishes and cron triggers.
  • Sleep when idle: Stop an app that has had no requests for a while so it uses no memory or CPU, and wake it on the next request.
  • Functions: Deploy a ten line Node, Python or Go handler as a function that sleeps when idle and answers the first request after a cold start, on your own server.
  • Canary deploys: Send a share of an app’s traffic to a new image in stages, promote it, or let the control plane roll it back when errors or latency rise.
  • Split testing: Send a share of an app’s visitors to a branch deploy or a retained release, sticky per visitor, then promote the winner.
  • Deployments page: The cross-app Deployments page lists every deploy live, with filters kept in the URL, a details drawer, redeploy and rollback actions, and keyboard shortcuts.
  • Images: See every container image on a node with its size, layers and deploy lineage, promote images by digest without a rebuild, and check signatures.
  • Deploy previews: Deploy thumbnails in three tiers, from free page metadata to a real screenshot in a short-lived browser container, with costs, cleanup and settings.
  • Framework presets: Deploy Next.js, Go, React/Vite, Spring Boot and eight more frameworks with the right port, health path, storage and env hints already filled in.
  • Deploy a Next.js app: How to run a Next.js app on Levelrail today: the standalone output, build time variables, the cache volume, health checks, and what to know before you run more than one replica.
  • Deploy URLs: Every recent successful deploy keeps its own address, so you can open and compare a past deployment without rolling back.
  • Deploy links and badge: Put a Deploy with button in your README. A visitor enters their own server once and lands on a create-app form with your image, port and env names prefilled.
  • Deploy timeline: The fleet deploy timeline shows every deploy across your apps as bars on one time axis, with live updates, filters, a hover card and a matching CLI command.
  • Preview environments per pull request: Per pull request preview environments on your own servers, with their own domain and DNS record, safe data and secret defaults, a TTL and cap, and idle sleep.
  • Chat-interactive deploy approvals: Approve or deny a protected-environment deploy directly from the Slack or Discord notification, without opening the dashboard.
  • Supply chain visibility: A software bill of materials per Dockerfile build, an optional vulnerability scan in a short-lived container and a gate that can block a release. Costs, limits.
  • Secret scanning: Find credentials committed to a repo or stored as plain env variables before a deploy builds, with a per-app off, warn or block policy and an allow-list.
  • Deploy status badge: An opt-in, per-app SVG badge showing an app’s latest deploy status and when it happened, for embedding in your own project’s README.
  • Dashboard screenshots: Regenerate real dashboard screenshots from a live control plane with metrics and logs.
  • Running Levelrail in Docker: Run Levelrail control plane and node agent as Docker containers.
  • Zero-downtime deploys with Docker: readiness-gated cutover and rollback: How Levelrail ships without downtime: blue-green, rolling or recreate strategies gated on real readiness probes and digest-pinned images.
  • Rollout control: Tune rolling deploys with max_surge and max_unavailable, and protect running replicas with a min_available disruption budget.
  • Preview environments: Run a copy of an app for each pull request, with its own URL, caps, optional database, and automatic teardown when the pull request closes.
  • Deploy contexts: env and build settings per kind of deploy: Set env vars and static build settings separately for pull request previews, branch deploys and specific branches, and see the effective config for any deploy.

Networking and multi-node

  • Domains and ingress: Automatic TLS, domain routing, WAF, rate limiting, and redirects, all embedded in the control plane, with no separate proxy to manage.
  • Standalone domains: Proxy a domain to a port on this server, a network address, an external URL, another app’s port or a container, with no app needed, and find the DNS target.
  • Domain setup stepper: The four-step guide on the app Domains tab that adds a domain, shows the DNS records, watches DNS resolve and reports the certificate.
  • Dynamic DNS: Keep a DNS name pointed at a server whose public IPv4 changes. Configure it from the dashboard or the CLI, no restart needed.
  • DNS zones and records: Manage DNS zones and records at Cloudflare, Route53 or Google Cloud DNS, move name servers, verify delegation and propagation, and serve wildcard subdomains.
  • DNS zones and nameserver delegation: Check that your registrar points a domain at the nameservers of its DNS zone, and what each delegation state means.
  • Mail DNS: Build, review, apply and check the DNS records a domain needs for email, for your own mail server or an external provider. Add-only by default.
  • Mail server template: Install the mox mail server as a one-click template, with private admin ports, your own certificate, optional relay mode and backup notes.
  • Mailboxes, aliases and the mail queue: Create team owned mailboxes on the mox mail server, suspend and reset them, forward addresses with aliases, and hold or release outgoing mail.
  • Mail backup and restore: Back up, verify and restore the mox mail server from the Mail page, the CLI or the API. Everything here needs APP_EXPERIMENTAL=mail on the control plane.
  • Mail storage: Each mail service brings its own S3 compatible bucket for backups, mailbox archives and exports. Mailbox addresses appear only as hashes in keys.
  • Diagnose a domain: Find out why a domain is not working, see the exact DNS record to create, and fix it from the dashboard, the CLI or the API.
  • Domain traffic controls: Per-domain traffic controls in the embedded ingress: header rules, path forwarders, country rules, caching, redirects, raw ports, and body and timeout limits, from the UI, CLI or API.
  • Ingress abuse defense: Per-app rate limits by client address, address and User-Agent deny lists, and a log only mode that replays recent traffic before you enforce.
  • CDN and caching: The response cache in the ingress: what it stores, what it never stores, cache rules, purge by URL, prefix or tag, and a third party CDN in front.
  • Forms: Collect submissions from HTML forms on a static site with a public endpoint, a spam trap, per-address rate limits, a CSV export and alert channel notifications.
  • Firewall: Filter web requests at the embedded ingress with ordered rules, IP lists, automatic bans, a browser challenge, bot handling and attack mode.
  • Verifying real ACME issuance against a live domain: Verify real ACME certificate issuance against a live public domain with Let’s Encrypt or another RFC 8555 CA: what to check, common failures, a recorded run.
  • Multi-node: adding and managing nodes: Enroll additional nodes, manage placement and health, migrate apps with their volumes, and configure the WireGuard mesh.
  • Server patching: Preview and install OS package updates on a server, with holds for kernel and container runtime upgrades.
  • Multi-node quickstart: The short path to a second server, what has been verified on real infrastructure, and what to check before relying on the WireGuard mesh across hosts.
  • Add a node anywhere: Add an EC2 instance, Google Cloud VM, VPS or home server as a node in one guided flow, with zone auto-detect, preflight checks and failure-domain placement.
  • Add a server over SSH: Adopt a Linux machine you already have by letting the control plane SSH in, install Docker if needed and install the node agent. Commands, host key checks and fixes for common failures.
  • Run Levelrail on home hardware: Install notes for a Raspberry Pi, an old laptop or a mini PC, and what to do when your home connection has no public address.
  • Resource-aware placement: How new apps and databases are placed on nodes with room for them, how to read the “why here” explanation, and how to set the overcommit policy.
  • Node scheduling: taints, tolerations, affinity and score mode: Keep workloads off a node with taints, let chosen apps onto it with tolerations, place apps near or away from each other with affinity, and pick spread or bin-pack scoring live.
  • Autoscaling: Scale an app between a minimum and a maximum replica count on CPU, memory or request load, with cooldowns and a recorded reason for each decision.
  • Node provisioning: Create a server at Hetzner, DigitalOcean, AWS, Azure or GCP and enroll it as a node, with the credential each needs, status polling, cost and known gaps.
  • Multi-cloud provisioning quickstart: Pick a cloud provider and add a provisioned node in three commands, with the credential each provider needs. Cost and gaps are on the node provisioning page.
  • Network topology view: Read the Network page, how this server and nodes group into cards, how to turn the mesh on, and what the connection and reachability notes mean.
  • Private app tunnel: Reach an admin port of an app from your laptop without publishing it. The CLI listens on 127.0.0.1 and relays each connection through the control plane.
  • Project topology graph: Read a project’s topology diagram, what each node and edge represents, and exactly which stored field each edge is derived from.
  • Canvas: Beta visual editor for a project: add apps and databases, connect them, review every change as a plan, then apply it. What it can and cannot do.
  • Build node routing: Which node a deploy’s build runs on, how to mark a node build-only, and what to do when a single node is under sustained load.

Databases and storage

  • Managing databases: Create and manage databases with backups, point-in-time restore, and lifecycle management.
  • Managed databases from the command line: Create a managed database, follow its provisioning steps, plan version upgrades, and rotate the owner password with levelrail-cli.
  • Postgres connection pooler: Run a pgbouncer style pooler next to a managed Postgres database in transaction pooling mode, so many app connections share a few server connections.
  • Database upgrades: Schedule automatic database upgrades with security checks and automatic rollback on failure.
  • Database version catalog: Where the database versions, release channels and end-of-life dates offered at create and upgrade time come from: a published, signed catalog file.
  • External databases: Connect a database that already runs somewhere else, or adopt a running container, without moving or changing any data, and point apps at it.
  • Connecting apps to databases: Connect apps to multiple databases and view reachability badges.
  • Backup targets, registry credentials, and app volume backups: Configure backup targets, registry credentials, and automated backup schedules with retention policies.
  • Backup copies: Copy every new backup to a second destination after it lands in the first, track how far behind the copy is, and get alerted when it falls behind.
  • Volume files: List, download, upload and delete single files in an app’s named volume, and restore one file from a backup, without SSH.
  • Prove your backups work: Run restore drills to verify backups work before you need them.
  • Object storage: Connect S3-compatible buckets for log archive, build cache, and backups.
  • Network shares: Register and test network shares (NFS and CIFS) with the control plane.
  • Log explorer: Search logs, save queries, group errors into signatures, and create alert rules.
  • Custom dashboards: Build your own views of metrics, logs, deploys, alerts and cost, share them, and keep them in version control.
  • Tracing: Receive OpenTelemetry traces from your apps, keep them on the node and read them as a waterfall in the dashboard.
  • Error tracking: Point any Sentry SDK at your control plane, group errors into issues, and see which deploy produced them.
  • Loki-compatible log API: Read your app logs from Grafana Explore through a Loki-compatible API served by the control plane, with no log shipper in between.
  • Log pipelines: Apply transformations to every log line before storage, export or live tail. Redact secrets, drop noise, parse structured fields.
  • Log volume budgets: Cap how much log data one app can store, see which apps are noisiest, and forecast when a budget will be reached.
  • Data export: Send logs, the audit log and metrics to Loki, syslog, a webhook, a bucket, Prometheus or an OTLP collector, with bounded buffers and no effect on deploys.
  • Traffic export: Stream one record per finished edge request to PostHog, an OpenTelemetry collector or your own webhook, without visitor identity by default.
  • Audit event schema: The fields of an exported audit event and how Splunk, syslog and OpenTelemetry sinks map them.
  • Audit log: Search the audit log by time, actor, method and status, verify its hash chain, and export what you filtered.
  • Control plane backup and restore: Back up and restore the control plane’s database with automatic snapshots and offline restore.
  • Whole-server recovery: After restoring the control plane, pull every app volume and database back from its latest backup, with a dry-run plan and a per-resource report.
  • Archives: Move cold audit events, deploy attempts and pipeline runs into compressed bundles instead of deleting them.
  • Disaster recovery: Encrypted off-box backups of the control plane database, master key escrow, offline restore and scheduled restore drills, with the threat model.
  • Control plane recovery: What happens when the single control plane machine is lost, what survives, and how to recover onto a new host.
  • Upgrade safely: Upgrade the control plane safely with pre-flight checks and automatic rollback.
  • Database access and network: Manage database users, issue short-lived credentials, see who can reach a database, and control its network exposure, scope and TLS from the UI, CLI or API.
  • Private networks and allow rules: Group apps into named private networks, allow specific app to app paths, and fix blocked paths from the dashboard, CLI or API.
  • Database explorer and fleet overview: How the database explorer lists tables, what its empty and error states mean, and what the dashboard shows for databases, reserved resources and storage.
  • Database viewer: Browse schemas and table data, run read-only SQL, and inspect Redis keys for a managed database from the dashboard or the CLI.

CI/CD and automation

  • Deploying from GitHub Actions: Deploy a prebuilt image from a GitHub Actions workflow with the bundled composite action, no Go toolchain needed.
  • Use any CI: Build with GitLab CI, CircleCI, Jenkins, Buildkite or any other CI, and let Levelrail host. Templates, exit codes and safe retries.
  • Pipelines: Define CI/CD pipelines as YAML with triggers, jobs, matrix builds, approvals, and deploys, and run them on your own nodes.
  • Pipelines: OIDC federation: Mint short-lived OIDC tokens for pipeline jobs, and wire AWS, GCP, or Vault to trust them without a long-lived credential.
  • Git integrations: Connect GitHub, GitLab, Bitbucket or Gitea for automatic git-triggered deploys, per-pull-request preview environments, and webhook history with replay.
  • Azure DevOps: Deploy from Azure Repos with a personal access token and a push service hook.
  • Git reliability: What the control plane caches and polls, what connection and webhook statuses mean, the variables behind them, and how to recover a push that did not deploy.
  • Wait for CI before deploying: Hold an automatic git deploy until the commit’s CI checks conclude. Works with GitHub and GitLab, and the push is answered at once while the wait runs in the background.
  • Deploy with git push: Push a branch to a git remote on your own server and it builds and deploys that exact commit. A beta feature, off by default, with a per-app token.
  • Import a repository: Go from a git repository to a running app in a few steps, with detection that tells you what it found and why.
  • Monorepos: Detect workspaces, run one service per package from a single repository, and redeploy only the services a push actually changed.

Security and access

  • Sign-in engine: How sign-in, API tokens, two-factor, passkeys and OAuth are served, and the settings that tune them.
  • Host firewall: Manage allow and deny rules for the control plane host’s ufw firewall from the dashboard, CLI or API, with a lockout guard against blocking essential ports.
  • Exposure audit: Find which published container ports are reachable from the internet, why ufw does not cover them, and how to restrict one with a reversible allow-list.
  • Security center: The security center scores your instance from its real state, lists what to fix first, manages sessions and devices, and sets sign-in approval and token policy.
  • Compliance evidence: Run periodic access reviews and export a signed evidence pack of audit, access, backup, approval, security setting and certificate records for an auditor.
  • Emergency access: Get back into a control plane you cannot sign in to: reset the admin password, mint a root token from the host, or use a break-glass token made earlier.
  • Master key rotation: Rotate the envelope-encryption master key without losing access to stored secrets or causing downtime.
  • Secret rotation policies: Give an app secret a rotation schedule, let the control plane generate and apply new values, and see what is due or stuck.
  • Vault and OpenBao secret references: Read an app’s secret from an external Vault at deploy time, which backends work, and what happens when a reference does not resolve.
  • Your account: The Account page, your own profile, sign-in security, active sessions, API tokens and a plain-language view of what you can manage.
  • Access control: Roles for multi-user access, per-user environment grants, the guest role, IAM policies on apps, databases and environments, and ready-made policy templates.
  • Labels and namespaces: Group and filter apps, databases, stacks and nodes with free-form labels.
  • Teams and roles: Teams own projects, environments, apps and databases. Four roles (owner, admin, developer, viewer), invitations, team scoped API tokens, protected environments.
  • Team and project quotas: Cap how many apps, databases, previews and how much memory and CPU a team or project may hold, from the dashboard, the CLI or the API.
  • Environments: Instance-wide environments (dev, test, UAT, production, custom), the switcher, and moving apps and databases between them with approval for protected ones.
  • Promotions and release notes: Promote the same image between environments without a rebuild, see what a deploy changes (commits, env keys, digest), and generate release notes.
  • Identity and access: users, roles, and IAM policies: Authentication, authorization, roles, IAM policies, and audit logging for users and API tokens.
  • SAML single sign-on: Sign in through Okta, Microsoft Entra ID, Keycloak or any SAML 2.0 identity provider, map directory groups to roles, require SSO and keep a break-glass path.
  • OAuth and OIDC single sign-on: Map identity provider groups to roles, create accounts on first sign-in only when allowed, restrict email domains and route users by email domain.
  • SCIM provisioning: Provision and deprovision accounts and groups from Okta, Microsoft Entra ID or any SCIM 2.0 client, with hashed bearer tokens, instant revocation and audit.
  • Session policy: Per-team idle timeout, maximum session age, IP allowlist and required two-factor sign-in, enforced on every request, plus a host-side lockout recovery.
  • Projects, organizations, and environments: Organize apps and databases into optional projects, organizations, and environments with shared configuration and deployment gates.

Scale and operations

  • Managing apps at scale: Filter, tag, bulk-act on, clone and promote apps when you run dozens of them.
  • Tags: Label apps with tags such as team:payments, then filter the dashboard, CLI and API by them.
  • Resource console: Search every app, database, node, domain, bucket and private network in one list, tag them in bulk with a preview, save views, and see cost grouped by tag.
  • Command palette: Keyboard-first command palette and shortcuts for navigating the dashboard and running quick app actions.
  • Cost estimate: How the app cost estimate of what this would cost elsewhere is calculated, its assumptions, and the env vars that correct the reference rates for your region.
  • Usage and cost: Cost showback per app, project, environment and team, how your own prices and server bills are allocated by measured usage, budgets with alerts and CSV export.
  • Cost explorer and budgets: Explore cost by app, project, tag, node or kind, see a month end forecast, and set budgets that alert at thresholds or pause and throttle apps.
  • Spend caps: Set a monthly egress and cost limit per app, get alerts at 50, 80 and 100 percent, and choose whether the app is throttled or paused when the limit is reached.
  • Integrations: Attach curated third-party tools (PostHog, Sentry, Datadog, and more) to an app, injecting their env vars automatically at deploy time.
  • Cloud integrations: What works today with AWS, Google Cloud, Azure, Cloudflare, DigitalOcean and Hetzner for nodes, DNS, backups, registries and events, and what is not built.
  • Rolling back the control plane: How to roll the control plane back to a previous release: what the dashboard shows and what you run on the server.
  • Pre-deploy database snapshots: Snapshot an app’s linked databases before each deploy and roll back the code together with the data.
  • Resilience: what survives a control plane crash: What survives when the control plane process crashes, what does not, and why, measured with a real SIGKILL against a real control plane, not assumed.
  • Resilience, in short: A short answer to what survives a control plane crash, with a link to the full measured page.
  • Chaos test coverage: Which failure scenarios have a test, what each test asserts, and whether it runs under -short with a fake Docker client or live against a real daemon.
  • Observability: metrics, logs, and alerts: Node-local metrics, logs, and alerts with federated queries, no central ingestion.
  • Traffic observability: rate, errors and duration: Per app and per replica request rate, error rate and p50/p95/p99 latency measured at the ingress, with slow request samples and SLO error-budget burn.
  • Public status page: An opt-in public status page with operator-chosen components, 90 day uptime bars, incidents, maintenance announcements and an RSS feed.
  • Monitors: Experimental http, tcp, heartbeat and tls uptime monitors with a bounded result history and hourly rollups, off unless APP_MONITORS_ENABLED is set.
  • External monitoring: Watch Levelrail from outside the server with the built-in public status page and the off-host heartbeat ping, and know which one answers which question.
  • Scheduled maintenance: Announce planned downtime ahead of time with a dashboard banner, a status page entry and a channel notice, and optionally hold automatic deploys for the window.
  • Deploy policies: Guardrails checked before every deploy at organization, project and environment scope, with warn or enforce modes and an audited override.
  • What’s new panel: The dashboard’s “What’s new” panel shows recent release notes after an upgrade, sourced from the control plane’s own CHANGELOG.md.

AI and agents

  • Working with AI agents: Connect an AI coding agent to your instance, scope its token, and give it the instructions it needs to deploy safely.
  • AI control: Decide what AI agents and agent tokens may do on your instance, from off to admin, enforced on the server for every request.

Templates and catalog

  • Service template catalog: Deploy ready-made services from the built-in template catalog, save your own apps as templates, and see how templates, Compose and static sites relate.
  • Private registries: Connect container registries with vendor presets and give builds private npm, PyPI, Maven, NuGet, Cargo, Go and RubyGems packages through secret mounts.
  • Template upgrades: Check apps deployed from a catalog template against the current catalog entry. The planner is read-only, and the apply step deploys the new spec.
  • Template catalog: Every service in Levelrail’s one-click template catalog, grouped by category, generated straight from the Go source
  • Deploy to Levelrail button: Add a Deploy to Levelrail button to your project’s README so readers can launch it on their own server, with every URL parameter, limits and copy-paste snippets
  • Template status: Measured pass rate of the one-click template catalog from the local smoke run
  • Catalog index: The versioned JSON file that describes every template in the Levelrail catalog, used by the docs, the marketing site and a future catalog API.
  • Add a template: List your product or an open source app in the Levelrail template catalog with a pull request. Listing is free and the rules are the same for everyone.
  • Arm64 compatibility: Which one-click templates list a linux/arm64 image, for Raspberry Pi and Arm VMs, generated from the registry scan.
  • Starter kit templates: Seven starter-kit templates that show multi-service Compose wiring patterns: web plus database, worker plus queue, reverse proxy plus backends.

Migrate

  • Migrate to Levelrail: Move from Coolify, Dokploy, CapRover, Dokku or a compose file with the old server kept running, an honest downtime table and a rollback path.
  • Migration wizard: Move apps, databases and volumes off Coolify, Dokploy, CapRover or an old server in one guided, resumable job with live progress and a safe-to-delete gate.
  • Migrate from Coolify: Move Coolify apps, databases, env vars and domains to Levelrail with a read-only plan, staged copies and a reversible cutover. Coolify keeps serving.
  • Coolify exit gap report: What the Coolify importer carries over, what it reports for you to finish, and what it cannot see yet, audited against what a real Coolify instance holds.
  • Move a Coolify one-click service to a Compose app: How migrate coolify stages a Coolify one-click service as a Compose file with its magic variables translated, what it leaves for you to fix, and a manual path when you need one.
  • Migrate from Dokploy: Import Dokploy applications, databases, env vars and domains into Levelrail with a read-only dry run, then copy data and switch DNS while Dokploy keeps serving.
  • Migrate from CapRover: Import CapRover apps, env vars, domains and volumes into Levelrail with a read-only dry run. CapRover builds locally, so images need a repo or registry.
  • Migrate from Dokku: Move Dokku apps to Levelrail by reading the Dokku host’s Docker over SSH, or from an env dump as the fallback. Includes a Dokku command map.
  • Migrate from Docker Compose: Turn a docker-compose.yml into Levelrail apps and managed databases with a plan first, then copy data and switch DNS while the old stack keeps running.
  • Import Kubernetes manifests: Convert existing Kubernetes YAML into Levelrail apps with levelrail-cli import k8s. The conversion is text only: no fetch, no execution, no cluster contact.
  • Migration reference: Flags, mapping tables, database copy and hub details, cutover verdicts and environment variables for the Levelrail migration importer.
  • Migrating from Coolify, Dokploy, or CapRover: The per-platform guides moved to one page each. This page keeps the read-only migration agent, which inspects the old server itself.
  • Migration agent threat model: What the read-only migration agent on the old server can and cannot do, how it is constrained, and the risks that remain.
  • Migrate on the same server: Move from Coolify, Dokploy or CapRover to Levelrail on the same machine: install in coexist mode, import, verify, then take over ports 80 and 443.
  • Move a domain with no downtime: Test a domain on its new Levelrail server before touching DNS, get its certificate ahead of time, then switch with a checklist that shows each step.
  • Migrate over SSH: Import apps, env, images and volumes from an old Coolify, Dokploy, CapRover or Dokku host with only an SSH login. Read only, no agent, no remote command.
  • Migrating a Next.js app from Vercel: A runbook for moving a Vercel Next.js app to Levelrail: inventory, concept mapping, a DNS cutover and rollback plan, gaps with no equivalent and a shadow run.
  • Migrating a static site from Netlify: A runbook for moving a Netlify site to Levelrail: build settings, netlify.toml mapping, redirects and headers, forms, a DNS cutover and gaps.
  • Migrating a service from Cloud Run: A runbook for moving a Google Cloud Run service to Levelrail: concept mapping, deploying the same image, secrets, Cloud SQL, domains, jobs and what you give up.

Beta and experimental

  • AI assistant integration: levelrail-mcp: Run levelrail-mcp over stdio for a local client or over the network for a remote MCP assistant, and how to scope the API token it uses.
  • MCP tools, token budget and write mode: The levelrail-mcp tool listing, token budget, read-only diagnostic tools, confirm-gated write tools behind —allow-write, and the prompt injection threat model.
  • Connect an AI assistant safely: Wire Claude or another MCP client to Levelrail with a read-only token by default, know what each scope allows, what is audited, and how to revoke access.
  • MCP recipes: Real conversations with an AI assistant connected to the MCP server, showing what you ask, which prompts and tools run, and what comes back.
  • In-app AI assistant chat: The in-app AI assistant with your own key for Anthropic, OpenAI compatible, Gemini or self-hosted models, behind the ai-chat experimental flag.
  • AI models: Run Ollama, vLLM or llama.cpp models on NVIDIA GPU nodes, or small GGUF models on CPU with hard limits, behind an OpenAI-compatible endpoint.
  • Load balancing across replicas: Balance traffic across an app’s replicas with health checks, retries, sticky sessions, weights, graceful cutovers, live upstream status and config export.
  • Platform as code: Describe projects, environments, apps, domains, databases and more as YAML files, review the plan, and apply it from the CLI, the dashboard, MCP or CI.
  • Leave anytime: Export an app as plain Docker Compose plus an env template, so moving off Levelrail never needs Levelrail.
  • Stacks and GitOps: Keep apps, databases and domains in git as a stack, review each change as a plan in the pull request, apply on merge, and roll back to any earlier revision.
  • Resource advisor (beta): The beta resource advisor suggests memory and CPU limits, flags idle apps, memory growth and disk pressure, and sizes database settings from local telemetry.
  • CLI console (beta): The beta CLI console runs the platform CLI from the dashboard over a WebSocket, with step-up confirmation, a command allowlist and an audit row per line.
  • Feature flags: Toggle behavior in a running app without a redeploy, with per-app flags, percentage rollouts and a simple evaluate endpoint.
  • Log archive: Ship container logs to storage as compressed NDJSON on a schedule.
  • Automatic cleanup: Reclaim disk on the control plane node on a schedule, with preview and quarantine before anything is deleted.
  • Cleanup center: Keep control plane data bounded with per-data-type retention, a scheduled cleanup with preview mode, floors for security data, and an exportable run history.
  • Unified search: One search over apps, databases, nodes, domains, templates, settings and actions, filtered by what you are allowed to see.

Reference

Reference

  • app.yaml reference: Complete reference for app.yaml - the declarative app spec for Levelrail
  • Server-side apply: Merge partial manifests on the server with per-field ownership, conflict detection, version preconditions and dry runs.
  • Feature catalog: Inventory of Levelrail’s dashboard pages by area, with pointers to the generated API and CLI references.
  • Levelrail CLI Reference: Complete reference of all Levelrail CLI commands, organized by group with examples and typical use cases.
  • CLI output formats: Output formats for every list and get command, and how jsonpath maps to JMESPath.
  • kubectl style CLI verbs: Generic get, describe, delete, edit, port-forward and cp verbs, and how each maps onto the existing commands.
  • Terminal UI: Run Levelrail from the terminal with a live, keyboard-driven UI for apps, databases, deploys, nodes, domains, alerts and backups.
  • Environment variables: Reference for operator-facing APP_ environment variables not covered on feature pages, with defaults, units, and which component reads each one.
  • Runtime settings: Every runtime setting with its type, default, range, environment seed variable and where to change it.
  • Environment variables and secrets: Masking, reveal policies, and protection for app environment variables and secrets.
  • REST API Reference: Complete HTTP API reference for the control plane, organized by resource group.
  • API v2: uniform resource view: The v2 API gives apps, nodes and databases one object shape, a resource version and list and watch, mapped from the v1 data on each request.
  • API explorer: The in-dashboard API explorer under Settings, where signed-in operators browse every control plane route and try requests against their own instance.
  • Mobile API: Pair a phone with the control plane: one-time pairing codes, scoped device tokens, revocation, and the single round trip overview endpoint.
  • Plugins: Run signed, operator-approved plugins in locked-down containers. The first release supports notification channels.
  • Publishing plugins: Sign a plugin, make a marketplace index entry and sign an index, all offline.
  • First-party plugins: Notification channel plugins for services the built-in channels do not cover, built on the same public contract as any third-party plugin.
  • mcp-tool-surface: Estimated model context cost of the MCP tool list, by toolset.
  • Agent tooling audit: Size, overlap and annotation audit of the levelrail-mcp tool surface, with the token budget test that keeps it from regressing.
  • Shared Go kit: Standard-library-only Go module with networking, scheduling, parsing and system helper packages.
  • Terraform and OpenTofu provider: Manage projects, environments, apps, domains, databases and shared env variables from Terraform or OpenTofu, with import support and what is not covered.

Concepts

Explanation

  • Product tour: A look at the Levelrail dashboard: apps, deploys, logs, databases, domains and nodes, each with a short explanation.
  • Architecture: How the control plane, node agent, reconciler, ingress, store and extension points fit together, with the code path of a deploy and the trust boundaries.
  • Security overview: How Levelrail handles secrets, sessions, TLS, and access control, and where to find the detailed page for each.
  • Threat model: Trust boundaries, assets, attackers, the mitigations that exist today with file references, known gaps, and how to report a vulnerability.
  • Verify a release: Check that a Levelrail binary or image came from this repository’s release workflow: checksum, cosign signature, build provenance and SBOM, with exact commands.
  • Docker access and the API guard: Every Docker Engine API call Levelrail makes, why it needs it, and the guard that refuses everything else, including privileged containers and host mounts.
  • vs Coolify, Dokploy, CapRover, Dokku, and Kamal: Honest comparison of Levelrail with Coolify, Dokploy, CapRover, Dokku and Kamal: architecture, what each is good at, and what ships without a paywall.
  • Who Levelrail is for: Three audiences for Levelrail (solo developers, small agencies, teams leaving Coolify, Dokploy, Heroku or Vercel), which features fit and where it falls short.
  • White-labeling: How the brand layer works, which names and prefixes it drives, the brand.yaml fields and APP_BRAND_* overrides, and what a fork must still change by hand.
  • glinr-bot: How the repo’s GitHub App bot evaluates pull requests against a policy file, comments its reasoning and, in enforce mode, approves and arms auto-merge.
  • Run behind an existing proxy: Run Levelrail behind the proxy that already owns ports 80 and 443, with managed routes for Traefik (including Coolify) and Nginx.
  • Run behind Cloudflare: Put Cloudflare’s proxy in front of Levelrail: SSL mode, certificates, websockets, upload limits, real client IPs, cache purge, and an honest list of what the proxy does not hide.
  • Cloudflare in front checklist: The order to set up Cloudflare’s proxy in front of a Levelrail server: SSL mode, client addresses, the per-app proxy, cache purge, and what a rollback does not change.
  • Cloudflare Tunnel: Expose the control plane through a Cloudflare Tunnel with no open inbound port. Experimental: how to enable it, set the token, check status and remove it.
  • Shared hosts: What Levelrail touches and does not touch on a server that already runs other containers or a control panel.
  • Security advisories: Every security issue Levelrail has found and fixed, with a stable ID, severity, affected versions, the fix, and how we disclose.
  • Advisory feed: Match the images your apps run against a local, optionally signed advisory feed.

Compare and choose

Design proposals

Appendix

Status and roadmap

  • Roadmap: What Levelrail has shipped by area, what is still open, and what is out of scope.
  • Feature status: Per-feature maturity labels (stable, beta, hide-behind-flag) with the test, e2e, docs and real-infrastructure evidence behind each one.
  • Feature coverage: What Levelrail covers, one row per capability, with a status label and a link to the page that explains it. Written from the code and the existing docs.
  • Experimental features: Features hidden at launch, the APP_EXPERIMENTAL switch that turns them on, and what each surface does while a feature is off.
  • Support policy (draft): Draft compatibility and support policy for a future stable line. Not yet in force.
  • Performance: Measured idle footprint of the control plane at 0, 100, and 500 apps, and how to reproduce it.
  • Performance budget: The rules every new control plane feature follows so idle cost stays flat as features grow.
  • Load and failover benchmarks: How to measure throughput, latency, ingress overhead and failover behavior under load, and which numbers are still unmeasured.
  • Benchmark runbook: Steps to measure load and failover on a labelled Linux server with a separate load generator, and how to publish the result.
  • Control plane health: What the control plane measures about itself, which limits it enforces, and the fixes it can apply.
  • Changelog: Every Levelrail release with highlights, fixes and upgrade notes.
  • Upgrade history: Every version the control plane has run, recorded at boot, and how upgrades are acknowledged.
  • Upgrade compatibility: Every release must upgrade cleanly from the previous minor’s latest patch, with the data it left behind. Patch releases carry no destructive migrations.

Engineering notes

  • CI: How the GitHub Actions checks on a pull request are chosen, what they cost, and which ones branch protection relies on.
  • Which guard catches what: For contributors. The repo-wide guard tests and scripts, what each one fails on, which command runs it, and how to fix the failure.
  • First-hour smoke test: Run the install-to-rollback journey in a Docker container to prove the first hour works, and wire it into a nightly job.
  • VPS smoke test: scripts/vps-smoke.sh checks a real install end to end on a VPS you already have, without creating or deleting cloud resources.
  • Internationalization (i18n): How the dashboard’s i18n works for contributors: where strings live, how to add one to a component, and how TypeScript catches a mistyped key.
  • GLINR design tokens: The single source of truth for color, space, radius, elevation, type and motion in the Levelrail dashboard, and how to add or change a token.
  • UI navigation: Rules for where a new dashboard setting or page goes, and the size caps that keep the sidebars lean.
  • Brand kit: Logos, colors and ready-made social images for Levelrail, free to use when you write about it, share it or link to it.

About

  • Terms of use: Terms for using the Levelrail website and software, including the Apache 2.0 license, no warranty, trademarks and third-party links.
  • Privacy policy: What the Levelrail website collects, which browser storage it uses, and where to find how the software itself handles data.
  • Cookie notice: The Levelrail website sets no cookies of its own and stores only your theme preference in your browser’s local storage.
  • License and notices: Levelrail is licensed under Apache 2.0 with one edition and no paid tier. What that means in plain language and where to read the full text.
Last modified on November 8, 2026