We should move the database into a separate docker volume/mount. That would allow us to persist the data even after an (docker-)update.
I suggest using an environment variable, which defaults to the desired repository internal location for setting the database location, so we can customize the database location when deploying the project.
We should also investigate if the database should be created within the rust code (maybe at startup), so we don't have to drag around the data.db file and pay attention not changing it.
We should move the database into a separate docker volume/mount. That would allow us to persist the data even after an (docker-)update.
I suggest using an environment variable, which defaults to the desired repository internal location for setting the database location, so we can customize the database location when deploying the project.
We should also investigate if the database should be created within the rust code (maybe at startup), so we don't have to drag around the
data.db
file and pay attention not changing it.