Is the Apps spec documentation correct?

Posted November 5, 2021 104 views
DigitalOcean 1-Click Apps MarketplaceDigitalOcean App Platform

This page:

Show ‘spec:’ at the top of a number of example specs.

This page, the reference, doesn’t show 'spec’ as a valid item in the YAML.

What am I missing?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


The difference between the two is the following:

  • The deploy button that you add to your GitHub repository uses the YALM file at: .do/deploy.template.yaml.

  • The Reference for App Specification documentation is not related to the deploy button but instead it can be utilized with tools like the doctl command-line tool or the DigitalOcean API.

The spec part is only needed for the deploy button in GitHub. In case that you want to add a button to your repository, you need to follow the first link, and if you want to utilize the DigitalOcean API or the doctl command-line tool, then you need to follow the second link.