Hi, I have a simple python flask app that is creating and writing to a sqlite database (this creates a mydb.db file in the filesystem). I know if I would use “droplet” this would not be a problem but I was wondering if I could also use “app-platform”…I think I don’t because it will run in a docker container that will not persist filesystem changes right ? I tested it with a simple app and it worked (theres no error that I cant write to the filesystem or something like that) so now I’m wondering am I correct that I should not use sqlite with app-platform, and if so, in what situation would the containers restart/wipe the filesystem could it happen “any time” or only when performing some administrative work like changing the scaling plan ?
Also if I cant use sqlite can you point me to resources how to integrate digitaloceans hosted db
Thanks in advance, I’m new to web dev and digitalocean seams really nice.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.