Data stored in SQLlite won't persist

So I have simple CRUD application written in django that uses SQLite DB. I’ve created volume with name “myapp_data” and added following to fly.toml:
[mounts]
source=“myapp_data”
destination=“/data”
It deploys without any errors but the data won’t persist and it dissapears every 4-5 minutes or after next deployment, the volume in fly.io dashboard said, that its running and using 70 mb of space. The volumes are also linked to machines

Added Django, sqlite

What is in your database settings? In particular, did you specify a full path for the name of the database, and is that path in the /data directory?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.