App Spec Static Site Args
Constructors
Properties
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 name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
The CORS policies of the app.
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.
The name of the error document to use when serving this static site.
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.
The name of the index document to use when serving this static site.
An HTTP paths that should be routed to this component.