Report this

What is the reason for this report?

Exporting App Platform Configuration

Posted on October 7, 2023

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.



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!

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.

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.

Best,

Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.