Deploy Your First Project
View as MarkdownPush code and watch Atlasflow build, deploy, and serve your application.
Once you've created a project, Atlasflow deploys automatically when you push to the default branch.
Deployment lifecycle
Each push to the default branch creates a new deployment. Atlasflow runs through these stages:
- Build: clones your repository at the commit SHA and builds a container image from your Dockerfile, or by auto-detecting your stack when no Dockerfile is present.
- Image: pushes the built image to Atlasflow's container registry.
- Run: starts a VM running your container with your project's runtime environment variables.
- Route: assigns a preview URL and routes traffic once the container passes health checks.
You can follow progress in the deployment detail view in the Atlasflow dashboard.
Preview URLs
Every deployment gets a unique preview hostname:
{project}-{token}-{workspace}.atlasflow.devThe token is derived from the deployment ID and is stable for that deployment. Use preview URLs to test changes before promoting traffic to a custom domain.
Your project also receives a default hostname:
{project}-{workspace}.atlasflow.devThis points to the latest successful deployment.
Trigger a deployment
Push a commit to your default branch:
git push origin mainAtlasflow detects the push via the GitHub App webhook and starts a new build automatically.
Verify your deployment
After the deployment reaches a running state:
- Open the preview URL from the deployment page.
- Confirm your application responds correctly.
GET / with a 2xx status code. See Container requirements for details.Troubleshooting
- Build failed: check the build logs for Dockerfile or build configuration errors. Verify your root directory and Dockerfile path in project settings.
- Deployment unhealthy: confirm your app listens on port 3000 and returns HTTP 200 on
/. Check the runtime logs. - Missing environment variables: add runtime variables in project settings. See Environment variables.
See Troubleshooting for more.
Next steps
- Configuration: customize build settings.
- Environment variables: configure build and runtime values.
- Custom domains: point your own domain at Atlasflow.