Help with mounting a raspberry pi directory to railway
loyahdev
PROOP

2 years ago

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

13 Replies

loyahdev
PROOP

2 years ago

fec32241-499a-4c5b-af0d-826fa71978bb


2 years ago

railway only supports volumes


loyahdev
PROOP

2 years ago

so i cant use an external storage server?


loyahdev
PROOP

2 years ago

or would i have to host an api on my raspberry pi for uploading and downloading etc?


2 years ago

the latter


loyahdev
PROOP

2 years ago

hm?


2 years 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
PROOP

2 years 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?


loyahdev
PROOP

2 years ago

for downloading


loyahdev
PROOP

2 years ago

I suppose I could use ngrok


loyahdev
PROOP

2 years ago

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


loyahdev
PROOP

2 years ago

I’ll just try some stuff and see if they work


2 years ago

I honestly can't recommend running a file server from home when cloudflare R2 exists


Loading...