How to deploy Docker container using .do/deploy.template.yaml

I believe your documentation on the different between app.yaml and .do/deploy.template.yaml is lacking.

I believe your page explaining how to add the deploy button, is totally confusing it show examples for the deploy.template.yaml file, but links to the documentation for the app.yaml

Why are your customers having to explain this to you?

Okay, can you explain if it is possible to launch a docker container, using this file somehow: .do/deploy.template.yaml

Thank you

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

👋🏼 @CameronSeattle

I realize this is not very clear. .do/app.yaml is an unofficial path commonly used to store app specs in git repos, however, it is not used by App Platform at all.

deploy.template.yaml follows the exact same syntax as a regular App Spec, except it is nested under a spec: key. As an example, here is a deploy button template for a Dockerfile service:

  name: sample-dockerfile
  - name: dockerfile-service
    dockerfile_path: Dockerfile
      branch: main