Deploy your first app
Deploy a live app with Postgres on a fresh install: import a repository on a free address, connect a database, then use your own domain and deploy on every push.
This page walks you through deploying an app with its own database and an HTTPS address on a fresh install. It takes a few minutes, most of them waiting for the first build. Each step links to the page with the details.
The Get started page in the dashboard follows the same order and shows how far you are: your server, your first app on a free address, then your own domain, deploys on every push and a backup off the server. Something runs before you set up a GitHub App or a DNS record.


1. Import a repository
Go to Projects and click New project (or Deploy something in Get started). Paste the URL of any public
repository into the field at the top (press / to focus it), or pick one from Your repositories once a
git provider is connected (step 7). launchroom reads files such as package.json, composer.json and a
Dockerfile on a build server.
The same page starts a project from a template, from a Docker image such as nginx:alpine
(Deploy a Docker image), from a Compose file or as a blank canvas that you fill
yourself. The app gets a free address right away; your own domain comes in step 6.
It then shows what it found:
- The apps in the repository. A plain repository is one app. In a monorepo, each workspace app is listed and you pick the ones to deploy.
- Extra processes. For example a queue worker and a scheduler for a Laravel app. Add them with one click. They share the app's image, so one build covers all of them.
- Databases. If the code or
.env.exampleexpects Postgres, MySQL or Redis, launchroom suggests the database, connected to the app. Below that, every database launchroom runs is a card: one click adds it, connected to your app.
Name the project and click Create and deploy. If you need to configure variables first, choose Create without deploying, set them in the service's Variables page, then deploy from the canvas. You can also start from a template or a Compose file. See Templates and Compose.
What launchroom detects
Before the first build, launchroom works out a build plan and shows it:
- the framework and its version
- the package manager
- the runtime version and where each value came from (for example
.nvmrc) - the install, build and start commands
- the port
- the variables the build needs
How launchroom picks the builder:
- A
Dockerfilein the repository wins. launchroom builds with it and says so. - Otherwise launchroom builds with Railpack plus its own framework presets (Next.js, Laravel, Django, Rails, static sites and more). The presets add production defaults such as a release command for migrations.
- launchroom never switches builders silently. If it can't plan the app, it shows why. You can then set commands, pick a template Dockerfile or, if turned on, generate one.
Details in How builds work and Generate a Dockerfile.
Small servers
When your only build server has fewer than 2 CPU cores or less than 4 GB of memory, Get started and the Servers page suggest a separate build server. A build next to your running apps can slow them down while it takes the CPU and memory. A home server, a Raspberry Pi or a laptop works as a build server. See Home machines.
2. Add a Postgres database
If the import didn't add a database, open the project's canvas, click Add a service and choose Database. Pick PostgreSQL (or MySQL, Redis, Valkey, MongoDB, ClickHouse), a version and a name.


launchroom generates the credentials, stores them encrypted and runs the database with a volume for its data. More in Managed databases.
3. Connect the app to the database
On the canvas, drag a connection from your app to the database. The Connect popover previews the variables it will add, with the names your framework expects:
DATABASE_URLfor Node, Prisma and Django;DB_CONNECTION,DB_HOST,DB_PORT,DB_DATABASE,DB_USERNAME,DB_PASSWORDfor Laravel;REDIS_URLfor Redis.
The variables are references such as ${{postgres.DATABASE_URL}}, not copies of the password. launchroom resolves them
when the app deploys, and deleting the connection removes them. Your app reaches the database by its name,
postgres:5432, on the environment's private network. See Variables.


4. Review and apply
Edits on the canvas don't go live one by one. They collect as staged changes, and the canvas toolbar shows how many are waiting: "3 new services" with Deploy before the first deploy, "3 changes" with Review & apply after it. Open it to see each change with its effect (new service, rebuild or restart), add an optional message and confirm.


Each deployment runs through its steps: Plan, Build, Roll out, Health check and Switch traffic. The new version starts next to the old one and is checked from outside its container. Only then does it receive traffic. If any step fails, the previous version keeps serving and the deployment page shows why.


After this, new commits on the tracked branch deploy by themselves: right away once GitHub is connected (step 7), within a minute for a public repository added by URL.
5. Open your app
While the first app deploys, the person following Get started sees a card at the top left of its canvas that lists the steps (Build, Start, Health check, Route) with their state and duration. When it is live, the card says "Your first app is live" with the address, Copy and Open, and suggests next steps: use your own domain, deploy on every push and keep a backup off this server. The Get started step for the first app counts as done only once a production app is live. While the deploy runs, it shows its progress with Watch it.
When the deployment is Live, open the service on the canvas. Its address is in the panel and in Settings → Domains. launchroom sets up its HTTPS certificate by itself.
6. Use your own domain
Every web service gets a generated address. Until you set a domain, the address is built from your server's IP, such
as web-production-shop.203-0-113-10.sslip.io, and works without DNS setup.
For projects you keep, set a platform domain in Get started (Use your own domain, then Domain for your apps):
- Enter the domain, such as
apps.example.com, and click Save. The step stays open and shows the record to create: an A record (and an AAAA record with IPv6) for*.apps.example.compointing at your server's public IP. - Create the record at your DNS provider. launchroom checks it every 10 seconds; Check now runs the check at once.
- Once the check says DNS verified (or Reached through a proxy behind Cloudflare), click Continue.
Continue anyway finishes the step before DNS is ready: new apps get addresses under the domain at once and open when DNS reaches your server. Skip for now keeps the free sslip.io addresses.
Every service then gets an address like web-production.shop.apps.example.com. You can add custom domains per service
on top. See Domains and TLS. With Cloudflare's proxy, read
Behind a proxy first.
To give one service its own address, such as shop.example.com, add it under the service's domains. launchroom shows
the DNS records to create and checks them live. Domain changes apply immediately, without a deploy.
7. Deploy on every push
Connect your git provider so each push deploys at once and pull requests get previews. Use Deploy on every push in Get started, or open Settings → Git and pick a provider.
Public repository?
A public repository needs no connection, as in step 1. launchroom then checks the branch for new commits every minute. See Public repositories by URL.
GitHub
launchroom uses GitHub's app manifest flow. GitHub creates a GitHub App with the permissions launchroom needs and sends its credentials back to your dashboard. You don't copy keys by hand. Connecting takes two steps, and both are shown in Get started and in Settings → Git. The step that isn't current is greyed out, and a finished step says Done.
- Create the GitHub App. Click Create the app on GitHub. For an organization, or for GitHub Enterprise Server, open the optional details and fill in the organization or server URL first. Left empty, the app belongs to your personal account. GitHub asks you to confirm, then sends you back to launchroom, where step 1 shows Done.
- Install it on your account or organization. Click Install on GitHub and pick the repositories launchroom may deploy. You can change that selection on GitHub at any time.
After that, pushes deploy automatically. Pull requests get a preview, check runs and a comment with the preview URL.
Dashboard not on the public internet
If your dashboard runs on localhost or a LAN name, GitHub can't deliver webhooks to it. launchroom then creates the
app without a webhook and checks your branches every minute instead; pull request previews need the webhook.
GitLab, Gitea, Forgejo or any git server
GitLab (gitlab.com or self-managed), Gitea and Forgejo connect with an OAuth application or an access token. Any other git server works one repository at a time, over SSH with a deploy key launchroom generates, or over HTTPS for public repositories. See Git providers.
Next steps
Install launchroom
One command on a Linux server. launchroom is Docker containers and one folder, and nothing is written outside that folder unless you agree to it.
Concepts
The words launchroom uses for teams, projects, services, connections, environments, previews, staged changes, deployments and servers.