Question

deploy django media files from directly digitalocean app platform

Posted August 17, 2021 80 views
Django

hello,
I have a django project with and deployed it to digitalocean app platform. Everything is working good, but I have media files and they are uploaded to directory but didn’t displayed on website. In development mode it was just fine.
I know that I can manage media files from amazon aws but I want to use directly digitalocean.

Thanks

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.

×
Submit an Answer
1 answer

Hey there!

Since all data stored in App Platform is ephemeral those files would be deleted on each deploy. In this case I would suggest you use Spaces to store those files. How to Store Data in App Platform

Hope that helps,
Nate