Question

How to get non-version controlled files in Digital Ocean App Platform

Currently I have some larger files in my project that are essential to the application, but aren’t under version control due to size. How do I access these files in my application? The two ways I can think of are

  1. Add the information to a database and use that instead.
  2. Add them to a private digital ocean space and then download them during the app build process.

In the short-term I would like to use #2 as the files aren’t stable and are changing frequently, but I’m not sure how. Is there a tutorial or can anyone walk me through it? Thanks in advance for the 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.

Hi there,

Indeed for such large files that are not checked into git, I would personally go for putting them on an object storage like the DigitalOcean Spaces.

The way that you could do this would depend on the tech stack and framework that you are using.

There are quite a few tutorials covering how to work with Spaces for different languages and frameworks which you could check out here:

https://www.digitalocean.com/community/tags/object-storage

Best, Bobby