universal-data-tool
universal-data-tool copied to clipboard
UDT in a Docker container: Save to filesystem
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
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.
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).
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 :)