Question

App platform how to keep resources and volume beetwen deploys

I have a laravel app and a vue.js static site deployed to digital ocean app platform. My question is if it’s possiblo to keep the volume beetwen deploys? For instance I am using Laravel Passport and basicaly i need to generate new keys after every redeploy. And the other thing is that it’s downloading resources every deploy and it’s taking alot of time. Is there a way to keep those data beetwen deploys?

Thanks for help


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

👋 @brackog

Currently App Platform does not support persistent volumes. This is a feature we are looking to implement in the future though no timeframe is available right now.

The keys could be persisted a few different ways:

  • In a database
  • In a DO Space
  • Pre-generating your Passport keys and injecting them into files from environment variables as part of the deploy process, here’s a link that talks about this

Hope this helps!