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.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi,
adding Strapi-App hidden folders “.tmp” and “.cache” to .gitignore solved it for me.
This comment has been deleted
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.