https://prefect.io logo
Title
a

Amol Shirke

06/29/2022, 11:51 PM
Hello All, I am running prefect orion in docker with sqlite3 DB. For persisting data used bind mount. The location on host cannot be local folder as after weekly boot New host will be assigned and docker will run on that. Hence I used AFS like my other bind mounts, however having such setup and on prefect orion start its stuck at message "server starting". If I set db directory just inside docker then server gets started but the data cannot persist now. Is there any issue keeping db file on AFS? What can be done in this case?
āœ… 1
a

Anna Geller

06/30/2022, 11:46 AM
yup, you're right that this won't work. DB file cannot be located in bind mount. I would recommend either: ā€¢ switching to Postgres ā€¢ switching to Cloud 2.0 https://discourse.prefect.io/t/how-to-get-started-with-prefect-cloud-2-0/539
a

Amol Shirke

06/30/2022, 11:53 AM
Thanks Anna, will check for postgress.
šŸ‘ 1