universal-data-tool icon indicating copy to clipboard operation
universal-data-tool copied to clipboard

UDT in a Docker container: Save to filesystem

Open flavienbwk opened this issue 5 years ago • 3 comments

Hi,

I run UDT on Docker. Where does UDT stores its data ? I would like to persist them through a volume but I need to know the path to the location where UDT saves its files.

Thanks

flavienbwk avatar Sep 16 '20 18:09 flavienbwk

UDT through docker doesn't currently save to the file system, so the file has to be downloaded. @Ownmarc and I just discussed this today :) We want to make it so the collaboration-server (possibly just called Universal Data Tool backend in the future) can access the user's file system and save files.

Note: With the desktop application you can save files normally.

seveibar avatar Sep 16 '20 19:09 seveibar

So UDT in general doesn't store anything?

Because if UDT stores data without Docker it can store it with Docker (that's just a volume).

flavienbwk avatar Sep 16 '20 19:09 flavienbwk

In the Desktop app files are saved as you would expect. However, the Dockerfile currently is just a web server that serves a web client with no backend functionality except for the builtin public collaboration server. The collaboration server will save the dataset and can be queried for the latest JSON representation.

You can also run the collaboration server yourself and using Setup -> Custom Collaboration Server. This is of course a bit annoying, because all of this could just run in the initial Dockerfile, which is what #311 is all about :)

seveibar avatar Sep 17 '20 02:09 seveibar