Before you start
- A Linux server,
amd64orarm64, 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.iotest address.
Install
levelrail systemd service, and waits until it is healthy. The last lines of output look like this (abridged):
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.
If the install fails
If the install fails
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:
- Your app’s address is shown before you deploy: with no domain set, an app gets
https://<app>.<dashed-ip>.sslip.io. - 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.ioaddress 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. - 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.
levelrail-cli setup status shows the same list.
If the setup link does not work
If the setup link does not work
Print a new setup token on the server:The last line is the token itself. To create the first admin from a terminal instead of the browser, set
APP_SETUP_TOKEN to it, set APP_ADMIN_PASSWORD (or answer the prompt), then run levelrail-cli setup admin --api-url http://<server-ip>:8080. It is refused once an admin exists.The dashboard port is in the systemd unit: systemctl cat levelrail | grep APP_HTTP_ADDR.If HTTPS fails on the first-run screen (for example, the sslip.io name does not reach this server yet), fix the cause and click Re-check. You can also run levelrail-cli settings ingress https status from a terminal.Deploy your first app
Pick the route that matches what you have.- Git repository
- Built image
- Config file
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 Without a flag, this prints the plan and stops. Add 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,
levelrail-cli login --device), the same flow is:--deploy to create the app and deploy it:docker run commands, compose files, and Dockerfiles. See Importing apps.If the import fails
If the import fails
Prefer a guided prompt?
Prefer a guided prompt?
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.


If the app does not come up
If the app does not come up
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 webfor the last lines before the exit. - Missing environment variable. Add it with
levelrail-cli env set web NAME=value --apply.
levelrail-cli apps diagnose web. See Deploy failures for each failure code.Roll back
Use the deploy history in the dashboard, or 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.
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:
--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 aslevelrail-cli doctor.


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:
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.
--output, --query), and shell completion option is in the CLI reference. To build from source or run a development instance, see Installing.