By lam4ik611
Hi,
i have app by App Platform. It has components: Nuxt.js (static), Strapi and DB. I set the correct environment variables for DB. Strapi code is based on git repository. At each deploy data of Strapi is overwritten but i don’t send local DB or something else in repository.
What am i doing wrong?
Thanks.
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!
App Platform runs workloads in containers. Containers use an ephemeral (temporary) file-system. This allows us to run multiple instances of your workload simultaneously. For persistence, we recommend using a managed database. You can add a development scale Postgres database in App Platform via the “+ Add Component” -> Database link, or a production grade database via the Databases section of the DigitalOcean cloud control panel.
This comment has been deleted
Hi,
adding Strapi-App hidden folders “.tmp” and “.cache” to .gitignore solved it for me.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.