Hello All, I am running prefect orion in docker wi...
# prefect-community
a
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
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
Thanks Anna, will check for postgress.
šŸ‘ 1