Exporting App Platform Configuration

Is there a way to easily export all parts of an App on Digital Ocean?

I’d like for it to include things like:

  • Name
  • Environment Variables
  • AppSec configs
  • Resources
  • Etc…

I realize there are ways to do this manually via the UI or putting together a script leveraging a few different doctl commands, but wanted to ask here if there is a simpler approach that I may have overlooked in the docs.

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.

Bobby Iliev
Site Moderator
Site Moderator badge
October 8, 2023

Hi there,

I believe that using doctl should work:

doctl apps spec get <app id>

Use this command to retrieve the latest spec of an app. If you don’t have your app ID, you can get it with doctl aps list.

Alternatively, you should also be able to do this via the DigitalOcean Control Panel:

  • Go to Apps.
  • Click on your App.
  • Then go to settings.
  • After that click on the App icon on the left, rather than an individual component:
  • Then scroll down to the ‘App Spec’ section and click edit.
  • There you should be able to see your complete app spec file.

Hope that this helps.



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel