2 years ago
I would like to know how to store a sqlite database and ensure that it is not deleted with each deployment of the application.
4 Replies
2 years ago
Simply mount a volume to a given location and then have your code store your database in that location.
2 years ago
Simply mount a volume to a given location and then have your code store your database in that location.
So it's that simple lmao
And is it possible for me to upload something into this volume without having to run a service first to move a file there?
2 years ago
You can only access the volume by the service that it's attached to, so yes you would need to first deploy something that can upload a file, like the filebrowser template.
2 years ago
You can only access the volume by the service that it's attached to, so yes you would need to first deploy something that can upload a file, like the filebrowser template.
Got it, thank you very much for your help!