I can see data is created on C:/ProgramData/ApplicationData/Volumes on my local system, but when stack goes down mongo image do not load data from my local folder.
Your mongo container doesnât have a volume. Your entire mongo database will be lost every time you delete the container. If you store tha path of the files in the database, the new database wonât know about any file.
Sorry, I hope you will be able to solve this. I canât test it on Windows server. Deleting a docker container should not delete the mounted data. On Linux processes can delete data before stopping when they get the stop signal. I donât know if Windows has a similar feature, but you can try to test it with other images.