Skip to main content
This page takes you from an empty Linux server to one app that is running, has a health check, and shows logs and metrics. It takes about ten minutes.

Before you start

  • A Linux server, amd64 or arm64, with systemd and root access. 1 vCPU and 1 GB of RAM boots the platform. 2 vCPU and 2 GB is more comfortable once you build images on it.
  • Ports 80 and 443 reachable from the internet. Let’s Encrypt uses port 80 to issue certificates.
  • Port 8080 stays closed to the internet. The dashboard answers there over plain HTTP, so reach it through an SSH tunnel or open it to your own IP only. See Dashboard port 8080.
  • Ports 80 and 443 free on the server. If another proxy holds them, the installer moves Levelrail to ports 8088 and 8443 (coexist mode) and one-click HTTPS does not work. See Server already runs a proxy.
  • Optional: a domain you can point at the server. Without one you can use a free sslip.io test address.
The full requirements, with what the installer checks, is in Installing. No server yet? Try it on your laptop first.

Install

The installer checks the host, installs Docker if it is missing, downloads the newest release and verifies its checksum, starts the levelrail systemd service, and waits until it is healthy. The last lines of output look like this (abridged):
Use the address from your own output. If port 8080 was taken, the installer picked the next free port and printed it. If the address times out, port 8080 is closed to you: run ssh -L 8080:127.0.0.1:8080 <user>@<server-ip> and open the same link with localhost as the host. Back up master.key now. Every stored secret is encrypted with it, and nothing can recover it if it is lost.
To pin a release, set LEVELRAIL_VERSION=vX.Y.Z before the command. You can also run Levelrail as a container. See Installing.

Sign in and deploy your first app

Open the printed setup link, choose a password, and you are the admin. The setup token travels in the link’s # fragment, so it never reaches the server logs or a referrer header. It is never written to the service log either; sudo APP_DATA_DIR=/var/lib/levelrail-data levelrail setup-token prints it again. The first sign-in opens one screen, not an empty app list:
  1. Your app’s address is shown before you deploy: with no domain set, an app gets https://<app>.<dashed-ip>.sslip.io.
  2. Enable HTTPS is one button that needs no DNS. Your admin email is prefilled as the certificate contact, and the dashboard gets a <dashed-ip>.sslip.io address with a Let’s Encrypt certificate. This is a test address: it works only while your DNS resolver answers for sslip.io, so use your own domain for production. Production enable attempts are capped at 5 per hour. After HTTPS is on, signing in over plain HTTP stops working, so use the https address from then on. A banner on the dashboard keeps offering it until it is on.
  3. Deploy a sample app, a template, or your own repository. The screen waits until the app is healthy and ends on its live link. A failure shows the automatic diagnosis and a link to the logs.
Everything else (email, git provider, backups, teammates, alerts) is on the Get started checklist in the sidebar, which reads your real server state and ticks steps off by itself. levelrail-cli setup status shows the same list.

Deploy your first app

Pick the route that matches what you have.
In the dashboard, choose New app and paste a repository URL. Levelrail shows a deployment plan before it creates anything: build method, port, environment variables, volumes, and warnings. Confirm it, and the build log streams live.From the server (or any machine where you ran levelrail-cli login --device), the same flow is:
Without a flag, this prints the plan and stops. Add --deploy to create the app and deploy it:
This reads a public repository over HTTPS. To deploy on every push, or to read a private repository, connect GitHub, GitLab, Bitbucket, or Gitea first. Pushes reach Levelrail through the provider’s webhook. The importer accepts repositories, docker run commands, compose files, and Dockerfiles. See Importing apps.
levelrail-cli apps create --interactive asks for the name, source, port, domain, health path, and limits. It then writes app.yaml or creates the app. levelrail-cli databases create --interactive does the same for a managed database.

Check that it is running

apps status lists the reconciler’s conditions. Each condition has a reason, so a failed deploy says why instead of retrying silently. In the dashboard, the same app shows live metrics with deploy markers on the charts, the deploy history, and a log viewer with search. Levelrail app overview: live metrics and deploy history in one view Levelrail app overview: live metrics and deploy history in one view Open the app in a browser:
It prints the custom domain first, then the automatic URL.
apps status names the failing condition. Common cases:
  • Health check failed. The app did not answer on the readiness path. Check that the path exists and returns a 2xx status, and that the app listens on the port you set.
  • Container crashed. Read levelrail-cli apps logs web for the last lines before the exit.
  • Missing environment variable. Add it with levelrail-cli env set web NAME=value --apply.
For a full diagnosis, run levelrail-cli apps diagnose web. See Deploy failures for each failure code.
To put it on your own domain with HTTPS, open the app’s Go live page: one checklist covers the firewall, DNS and the certificate. See Go live checklist.

Roll back

Use the deploy history in the dashboard, or run:
To go back to the previous successful deploy in one step, run levelrail-cli rollback web. Earlier images stay pinned, so cleanup cannot remove a rollback target.

Use the CLI from your laptop

levelrail-cli runs on your own machine. It talks to the control plane over HTTPS, so you need no SSH key and no open port.
Right after setup, the dashboard home shows a Connect your CLI card. Press Show my command and paste the one line it prints into your terminal. The code is single use, expires in minutes and is only ever shown to a signed-in dashboard session, so it signs the CLI in with no password and no approval step:
If you sign in with your password instead (levelrail-cli login --api-url https://console.example.com), a new device needs approval from a browser where you are signed in. The CLI tells you exactly where:
On a desktop terminal the CLI opens that page for you (--open, or --open=false to turn it off); over SSH and in scripts it does not. In a script it stops at once with the same instructions on one line, unless you pass --wait. Change the wait with --approval-timeout or APP_LOGIN_APPROVAL_TIMEOUT. login --device still works when you prefer to start from the CLI and approve in the dashboard. For CI, create an API token under Settings, API tokens and set it as APP_API_TOKEN. No git remote yet? Run levelrail-cli deploy in the project folder to upload and deploy it directly, see Deploy from your computer.

Finish setting up

After you sign in, the dashboard home shows live stats, recent activity, and a Needs attention list built from the same server checks as levelrail-cli doctor. Levelrail dashboard home with app, request, and deploy stats and a Needs attention list Levelrail dashboard home with app, request, and deploy stats and a Needs attention list The Get started checklist starts with four steps: set the dashboard address and turn on HTTPS, secure the admin account, connect a git source (or skip it and deploy an image), and deploy your first app. Each step turns to done on its own when the matching item exists. The other steps are under More recommended steps. None of them blocks your first deploy. You can Skip a step, Mark done for something the checklist cannot detect, and Undo either. Steps that do not apply to you, such as TLS behind your own proxy, show as “Not needed” and do not count toward your readiness score. The same checklist works from a terminal:
Set up backups before anything else. Your control plane database and master.key are the two things you cannot recreate. The shortest path is First backup in 5 minutes.

Where to go next

One command quickstart

Deploy a project from your laptop with levelrail-cli up.

Managing databases

Run Postgres, Redis, or another database next to your app.

Templates

Deploy a pre-made service such as Plausible or Uptime Kuma.

First backup in 5 minutes

Take a first backup with a local target, then move to an off-server one.

Go live on your domain

Point a domain at an app and get a real certificate.

Domains and ingress

Add custom domains and understand certificates.

Git integrations

Deploy on every push, with previews per pull request.

Multi-node quickstart

Add a second server.

Observability

Get alerted when something breaks.
Not sure what is stable? See Feature status. Hit a problem? See Troubleshooting. Every command, output format (--output, --query), and shell completion option is in the CLI reference. To build from source or run a development instance, see Installing.

Next step

  1. First backup in 5 minutes.
  2. Go live on your domain.
Last modified on November 6, 2026