How to Create an App on App Platform

  1. Go to https://cloud.digitalocean.com/apps and click Create App.

  2. Select the source for your app. You can choose a GitHub repository, a GitLab repository, or a container image you uploaded to DigitalOcean Container Registry or Docker Hub.

  3. Select the repository that contains your source code and specify the branch or tag in your repository that contains your app’s source code. If you’d like to automatically re-deploy your app when pushing to this branch/tag, select Autodeploy code changes and click Next.

    • For a monorepo, in the Source Directory field, specify the folder that contains the source and click Find Directory. See How to Deploy from a Monorepo for more information on how App Platform builds apps from monorepos.

    App Platform inspects the code and selects an appropriate runtime environment (such as Node, Ruby, etc). If you need to override this, upload a Dockerfile to your branch and restart the app creation process.

  4. Configure your app.

  5. Enter a name for your app and choose the region where you’d like your app to be hosted. Click Next.

    • The option to select a region is not available for static sites. Static components are served on DigitalOcean’s global CDN.
  6. Select a plan and instance size you would like to use when a container is created from the image. Click Launch App.

Build and deploy your app in the cloud directly from GitHub with App Platform.
The build and run commands are the command-line statements that compile your app component at build time and launch your app component after it has been built, respectively.
A region is a physical location in the world where DigitalOcean has a datacenter that can run your App Platform app.
Scaling is the process of adding more capacity to a component in your app, either horizontally (more containers) or vertically (more CPU and memory per container).