LinuxCommandLibrary

doctl-apps

manage DigitalOcean App Platform applications

TLDR

List all apps

$ doctl apps list
copy
Create app from spec file
$ doctl apps create --spec [app.yaml]
copy
Get app details
$ doctl apps get [app_id]
copy
Delete an app
$ doctl apps delete [app_id]
copy
List app deployments
$ doctl apps list-deployments [app_id]
copy
View deployment logs
$ doctl apps logs [app_id]
copy
Update app spec
$ doctl apps update [app_id] --spec [app.yaml]
copy

SYNOPSIS

doctl apps command [options]

DESCRIPTION

doctl apps manages DigitalOcean App Platform applications. App Platform is a Platform-as-a-Service (PaaS) offering that builds, deploys, and scales apps automatically.
The command handles the full app lifecycle: creating apps from specifications, managing deployments, viewing logs, and configuring scaling. App specs define services, workers, static sites, and jobs in YAML format.
App Platform supports various runtimes including Docker, Node.js, Python, Go, and static sites, with automatic builds from Git repositories.

PARAMETERS

COMMAND

Operation: list, create, get, delete, update, logs, etc.
list
List all applications.
create --spec FILE
Create app from specification.
get APPID_
Get application details.
delete APPID_
Delete application.
list-deployments APPID_
List app deployments.
logs APPID_
View application logs.
--spec FILE
App specification file (YAML).
--help
Display help information.

CAVEATS

App Platform incurs usage charges. Build times vary with app complexity. Some features require specific spec configurations. Deployment rollbacks may need manual intervention.

HISTORY

doctl apps was added to the DigitalOcean CLI when App Platform launched in 2020. It provides CLI access to DigitalOcean's managed application hosting platform.

SEE ALSO

doctl(1), heroku(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community