azuredockerazure-web-app-servicestorageqdrant

How to save data from qdrant to azure blob storage/file share storage?


I have a qdrant that is deployed in a docker container in the azure app service. Data from qdrant collections is saved in the docker container itself - this is the main problem, because when the application is restarted, all the data that was in the container disappears. I need to save data in a separate storage, preferably a blob/file share. I'm not considering the possibility of deploying qdrant in Kubernetes and container instance

I tried to specify the path to save the data in the azure application configurations, different paths where azure saves the data, but nothing came of it. I also tried to do this using the qdrant docker configuration, but nothing came of it either.


Solution

  • I just faced the same issue. The solution for my case was the following:

    1. Go to Storage account -> Create Storage account /or Select an already existing Storage Account -> File share -> Create new.

    2. Go to your App Service -> Configuration -> Path mappings -> New Azure Storage Mount -> Select the File share made from the previous step and as Mount path (IMPORTANT) SET /qdrant/storage

    This fixed my issue, hope it helps someone else.