App Spec Worker
Constructors
Properties
Describes an alert policy for the component.
Configuration for automatically scaling this component based on metrics.
A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git
, github
, bitbucket
, gitlab
, or image
may be set.
An optional build command to run while building this component from source.
The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
An environment slug describing the type of this app.
Describes an environment variable made available to an app competent.
A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git
, github
or gitlab
may be set.
A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git
, github
, gitlab
, or image
may be set.
A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git
, github
, gitlab
, or image
may be set.
An image to use as the component's source. Only one of git
, github
, gitlab
, or image
may be set.
The amount of instances that this component should be scaled to.
The instance size to use for this component. This determines the plan (basic or professional) and the available CPU and memory. The list of available instance sizes can be found with the API or using the doctl CLI (doctl apps tier instance-size list
). Default: basic-xxs
Describes a log forwarding destination.
An optional run command to override the component's default.
Contains a component's termination parameters.