Run your own web application (Node.js, or anything with a Dockerfile) with a managed PostgreSQL database, HTTPS and custom domains.
Quick Start
1. Create an App
Go to Services › App Platform and create an app. You can start from a template, which is deployed with starter code straight away.
2. Deploy your code
There are two ways to deploy:
- From GitHub: in your app go to Access › GitHub, connect your repository and click Deploy Now. See Deploying from GitHub.
- With a deploy token: create a token under Access › Deploy Tokens and upload your code with the one-line command shown there. It works from your terminal and from any CI (GitHub Actions, GitLab CI, Bitbucket Pipelines), which is also how you get deploy-on-push.
Pushing with git push to our servers is not available, and pushing to GitHub does not start a deploy by itself.
3. Watch the build
Each deployment and its build log appear in the Deploy section of your app.
What happens during a deploy
- Your code is received by the build system
- The language is detected (Node.js from
package.json), or yourDockerfileis used - Dependencies are installed and your app is built
- Your app is started; if the build fails, the version already running keeps running
Your app must listen on the port given in the PORT environment variable, bound to 0.0.0.0.