Accessing volume for file upload
Hello, I'm trying to upload files to my volume to use the files within flowise. I have attached a volume to my service and I have the mount path.
I just cant find anything in the docs - examples or such things - on how to access this mount path properly. Maybe somebody could point me in the right direction here?
I have read through the posts here but have not found a conclusive answer. I understand I need to write some code which is ok but I have no understanding of where and how to access the mount path properly. I assumed it would be some REST type behaviour but maybe its not? Thank you in advance!
I have read through the posts here but have not found a conclusive answer. I understand I need to write some code which is ok but I have no understanding of where and how to access the mount path properly. I assumed it would be some REST type behaviour but maybe its not? Thank you in advance!
Solution:Jump to solution
the service the volume is attached to would need to provide that funcionality
7 Replies
Project ID:
N/A
the volume is a disk thats mounted to the exact path you have specified, you can use the
RAILWAY_VOLUME_MOUNT_PATH
variable in code to know the exact mount path to write files into
railway does not provide any type of native filebrowser, all file access has to be done by the service the volume is attached toThat I understand but tbh I still do not understand how I upload local files into this volume using the mount path
Solution
the service the volume is attached to would need to provide that funcionality
you could use https://railway.app/template/Nan7Bs to upload the files to the volume this template comes with, then unmount the volume and mount it to the flowise service
Now I get this. Thanks I had a more basic misunderstanding as to how this works! Thanks a lot!