App Platform How-Tos

Generated on 17 Apr 2025

App Platform is a Platform-as-a-Service (PaaS) offering that allows developers to publish code directly to DigitalOcean servers without worrying about the underlying infrastructure.

Getting Started

How to Create Apps in App Platform

Build and deploy apps on push in the cloud with App Platform.

How to Deploy from Container Images

Deploy an application using a container image stored in your DigitalOcean Container Registry.

How to Deploy from Monorepos

Deploy applications from monorepos in App Platform.

How to Deploy using GitHub Actions

Deploy applications directly from your GitHub repository using GitHub Actions.

How to Access the Console for an App Platform Component

Access the console for components in your app to troubleshoot issues and run commands in their container.

How to Restart or Force Rebuild Your App

Resolve deadlocks or connection issues by restarting or rebuilding your app.

How to Build Components Locally

Build app components locally using the same build process as App Platform.

App Management

How to Scale Apps in App Platform

Add capacity to your app by scaling the number of containers.

How to Manage Deployments in App Platform

Manage deployments in App Platform.

How to Update an App's Spec

Update an app’s configuration by editing its spec file.

How to Manage an App's Source Repository

How change source repositories, configure submodules, and enable Git Large File Support (LFS).

How to Destroy Apps in App Platform

Delete apps from your app platform.

How to Add a "Deploy to DigitalOcean" Button to Your Repository

Add a “Deploy to DigitalOcean” button to your GitHub or GitLab repository so users can launch your app on App Platform with one click.

Manage Components

How to Manage Services in App Platform

Create and configure services in App Platform.

How to Manage Jobs in App Platform

Create and configure jobs in App Platform.

How to Manage Workers in App Platform

Create and configure background workers in App Platform.

How to Manage Static Sites in App Platform

Create and configure a static site in App Platform.

How to Manage Functions in App Platform

Create and configure functions in App Platform. Functions are blocks of code that run on demand without the need to manage any infrastructure.

Manage Data Storage

How to Manage Databases in App Platform

Create managed relational databases from directly within App Platform for use in development or production applications.

How to Store Data in App Platform

Review data storage options for App Platform.

How to Connect PostgreSQL to Connection Pools in App Platform

Connect your app to PostgreSQL database with connection pools using App Platform.

Manage App Settings

How to Manage Build and Run Commands

Add, edit, and delete buildtime and runtime commands for your application.

How to Use Environment Variables in App Platform

Use and encrypt environment variables in App Platform.

How to Cache Content to Improve App Performance

Improve your app’s performance by caching content with Cache-Control headers.

How to Change an App's Datacenter Region

Redeploy an existing App Platform app to a different datacenter region.

How to Upgrade Your App's Stack

Upgrade your app’s stack to take advantage of new features and security updates, or maintain your app’s compatibility.

How to Upgrade Your NodeJS Buildpack in App Platform

Upgrade your app to use new NodeJS Buildpack.

How to Upgrade Buildpacks in App Platform

Upgrade your app’s buildpacks to their latest versions.

How to Manage App Server's Time Zone

Change your app server’s time zone configuration to match your application’s needs.

Manage Settings

How to Configure Maintenance Mode

Temporarily take your app offline for maintenance and display a maintenance message to users.

How to Configure App Termination Settings

Configure the amount of time that app components have between receiving a termination command and actually shutting down to leave room to complete clean-up tasks.

How to Archive and Restore an App

Archive apps to store their data and configuration, and to stop incurring charges for the app. Restore an archived app to resume using it.

Manage Networking

How to Add Static IP Addresses to App Platform Components

Add a static IP addresses to your app that allow you to route traffic to and from your app with consistent IP addresses.

How to Manage Domains in App Platform

Add a custom domain to use for your app, in addition to its included ondigitalocean.com subdomain.

How to Configure CORS Policies in App Platform

Enable cross-origin resource sharing in App Platform.

How to Set Up Internal Routing in App Platform

Set up internal routing between components in your app to support API gateways, backend job processing, and microservice architecture.

How to Rewrite or Redirect URL Paths

Change the ingress URL paths in your app to create more manageable URLs or redirect traffic to different URLs.

How to Configure HTTP/2

Configure apps to receive HTTP/2 traffic. This allows you to use gRPC and other HTTP/2 features.

Manage Observability

How to Set Up and Manage Health Checks

Add health checks to your app to monitor the availability and performance of its services.

How to View Logs in App Platform

View application, build, deploy, and runtime logs in App Platform.

How to Forward Logs in App Platform

Enable log forwarding to log management providers in App Platform.

How to Create Alerts and Set Up Monitoring in App Platform

Create alert policies and set up alerts for app or resource events.

How to View Insights in App Platform

View application insights in App Platform in the control panel or using the API.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.