Report this

What is the reason for this report?

App platform how to keep resources and volume beetwen deploys

Posted on April 28, 2021

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



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.

👋 @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!

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.