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.

×
Submit an Answer
1 answer

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.