Help with mounting a raspberry pi directory to railway

I have a raspberry pi and its accessible over ssh but I'm wondering how I could that in railway to mount /mnt/SamSign to /app/storage in railway? instead of using my storage system now
9 Replies
Percy
Percy3mo ago
Project ID: fec32241-499a-4c5b-af0d-826fa71978bb
loyahdev
loyahdev3mo ago
fec32241-499a-4c5b-af0d-826fa71978bb
Brody
Brody3mo ago
railway only supports volumes
loyahdev
loyahdev3mo ago
so i cant use an external storage server? or would i have to host an api on my raspberry pi for uploading and downloading etc?
Brody
Brody3mo ago
the latter
loyahdev
loyahdev3mo ago
hm?
Brody
Brody3mo ago
it's a common saying when someone asks two questions at the same time, it means the second question is the one you go with, aka the latter
loyahdev
loyahdev3mo ago
ohh okay thanks. last thing connecting to that originally i was using an api on railway with my volume where to download files it was https://mycustomdomain/download/example.txt but with my raspberry pi api how can i still use that custom domain connected to railway? for downloading I suppose I could use ngrok Or I could modify my downloading api system to just route to my raspberry pi api but display as a link with my custom domain I’ll just try some stuff and see if they work
Brody
Brody3mo ago
I honestly can't recommend running a file server from home when cloudflare R2 exists