> ## Documentation Index
> Fetch the complete documentation index at: https://docs.levelrail.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Self-hosted Railway alternative with built-in observability

> Levelrail is an open source Railway alternative you run on your own servers: git push deploys, managed databases, domains with TLS.

**Railway-style simplicity on your own infrastructure**

Connect a repo, get a running service with a domain, TLS, a database and logs. The difference is that it runs on servers you own and the usage meter is yours.

[Get started](/getting-started) | [View on GitHub](https://github.com/glincker/levelrail)

```bash theme={"dark"}
curl -fsSL https://levelrail.com/install.sh | sudo sh
```

<img src="https://mintcdn.com/levelrail/zPhEnShTGkGFCjPc/assets/screenshots/apps-list.png?fit=max&auto=format&n=zPhEnShTGkGFCjPc&q=85&s=fd192cb496f8b161a7a8d0a3076efaed" alt="Levelrail apps list across nodes" width="1280" height="800" data-path="assets/screenshots/apps-list.png" />

## What you get

<CardGroup cols={3}>
  <Card title="Services, domains and TLS">
    Add a domain and Caddy issues and renews the certificate. Routing is handled in the control plane, with no separate proxy to run.
  </Card>

  <Card title="Databases next to your app">
    Create a managed database, link it to a service, and connect over the internal network. Backups are scheduled and checked.
  </Card>

  <Card title="Observability without an add-on">
    Metrics, log search and deploy markers overlaid on charts answer which deploy changed things without installing Grafana.
  </Card>
</CardGroup>

## Railway and Levelrail

Railway is a managed cloud. Levelrail is software you run.

| | Railway | Levelrail |
| - | - | - |
| Where it runs | Vendor-managed cloud | Your Linux servers, one to many |
| Pricing model | Usage-based | Your own server cost, nothing per service |
| Previews | Environments per PR | Preview environments per pull request with automatic teardown |
| Data location | With the vendor | On your nodes: secrets, metrics and logs are stored locally unless you configure an export |

[Read the full comparison](/comparison)

## Running in three steps

<Steps>
  <Step title="Install">
    One script on a Linux server.
  </Step>

  <Step title="Connect your repo">
    GitHub, GitLab or Bitbucket.
  </Step>

  <Step title="Add a domain">
    Point DNS and the certificate follows.
  </Step>
</Steps>

## Frequently asked questions

<AccordionGroup>
  <Accordion title="Can I scale across several servers?">
    Yes. Extra servers join with a one-time token and a small agent. Placement is explicit, and cordon and drain are supported.
  </Accordion>

  <Accordion title="Is there a managed cloud version?">
    No. Levelrail is self-hosted software only today.
  </Accordion>

  <Accordion title="Can I import from Railway?">
    There is no Railway importer. You deploy from the same git repos and recreate env vars and domains.
  </Accordion>

  <Accordion title="Is it open source?">
    Yes, Apache 2.0.
  </Accordion>
</AccordionGroup>

## Run your own Railway

Start with one small server and see how little it asks of it.

[Get started](/getting-started) | [View on GitHub](https://github.com/glincker/levelrail)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.