Deploy your first app
AirLift builds and runs your app from a public Git repository or a container image. There’s no server to look after.
Before you start
Section titled “Before you start”- Git: the repository must be public (GitHub, GitLab, Bitbucket, Gitea or any Git server). For private code, build an image and deploy that instead.
- Image: from Docker Hub or the GitHub Container Registry (ghcr.io), built for amd64. Private images work with a read token.
- No code yet? The create page has public starters (Next.js, Laravel, Astro, Vite with React, Docusaurus and plain HTML) that deploy as they are.
Create the app
Section titled “Create the app”- Open AirLift → Create an app (portal.phluit.com/app-platform/new).
- Where is your code? Choose Git repository and enter the repository address and branch, or choose Container image and enter the image and tag. AirLift checks the source and detects what it is: Node.js, Python, Go, PHP, Ruby, a static site or a Dockerfile.
- Components: check the parts AirLift found and their settings. An app can have:
- a web service, which answers on your domain;
- a worker, which runs in the background with no public address;
- a static site, built once and served from an edge cache;
- jobs, which run a command before or after each deployment, such as database migrations.
- Plan: pick a plan. Each one shows its memory, containers, components and bandwidth. See Plans and prices.
- Environment variables: add the variables your app needs. Tick Encrypt for secrets. You can also paste a whole
.envfile with Bulk edit / paste .env. See Variables, secrets and jobs. - Name your app and pick its Region. The app stays in that region.
- Review everything and click Create app. You confirm the plan at checkout.
The first build
Section titled “The first build”The build starts as soon as the first invoice is paid. Open the app to follow it in the live log, from queued to live. The first build usually takes 2 to 6 minutes.
When it’s live, the app answers with HTTPS on a free address, shown on the Overview tab. Next:
If the build fails
Section titled “If the build fails”Open the Activity tab and read the build log of the failed deployment. Common causes:
- The build or run command is wrong. Check them under Settings → Components.
- The app listens on a different port. AirLift tells your app its port in the
PORTvariable; listen on that, or set the HTTP port of the component. - A variable is missing. Add it under Settings → Environment variables, then deploy again.
Still stuck? Open a ticket with your app’s name.
