Docker compose web apps

I’m running a webapp in Lightning AI Studio due to limitations with my local machine. While the setup works initially, I encounter data loss whenever the studio instance goes to sleep. Upon restarting, I’m forced to rebuild the Docker images, resulting in the complete loss of:
-User registration data: I need to re-register with Ragflow every time.
-Knowledge base: All uploaded documents and indexed data are lost.
-Server-side work: Any configurations or ongoing work within the server is erased.
when using docker logs before sleep it works but after sleep it says “ragflow server” no such server is found … So any solution for that? Thanks

i am also trying to run ollama webui hosting everything but for some reason it downloads in usr/local file i have tried to like move the file into my normal teamspace drive but its not working so far the only method of saving that works for me is using an external server to host everything there but you could try to like download everything in your local machine and then upload it onto the studio . so yeah let me know if that works