Can volumes be mounted to relative paths?
My application depends on persistent data written to ./DATA. The web ui does not allow relative paths and
/DATA
as a mount point does not persist the changes.5 Replies
Project ID:
ed21cf63-06b9-495d-a87c-325bc4224b89
ed21cf63-06b9-495d-a87c-325bc4224b89
I don't know if the UI supports relative paths, for your use case can you not just use /DATA?
If you have a volume mounted at /DATA any writes you do to that directory should persist. You can use Brody's filebrowser template to investigate the volume if you are unsure if they are saving
You can add the template to your project by going to add -> templates -> filebrowser
your code is put into /app so you would want to mount to /app/DATA
Mounting to /app/DATA worked. Thank you!