Is it possible to store multimedia on Railway?
Previously (even before all the plans were changed) it was written that 100 gigabytes of storage was being given away for the standard $5 plan. I don't know what the situation is now. That's why I'm asking. If I have a site that needs somewhere to save files in the form of photos and videos (usually they are 2-3 megabytes in size), is it possible to do it with Railway? Let's say with the help of Volume? Ping me when you answer please
Solution:Jump to solution
@x4zx yea, you can do it via a volume
It's pretty easy too
I recommend looking at brody's multer template:
https://github.com/brody192/multer-file-uploads...
GitHub
GitHub - brody192/multer-file-uploads
Contribute to brody192/multer-file-uploads development by creating an account on GitHub.
14 Replies
Project ID:
N/A
N/A
Solution
@x4zx yea, you can do it via a volume
It's pretty easy too
I recommend looking at brody's multer template:
https://github.com/brody192/multer-file-uploads
GitHub
GitHub - brody192/multer-file-uploads
Contribute to brody192/multer-file-uploads development by creating an account on GitHub.
btw, as of now the hobby plan allows for 5gb storage and I think the pro plan allows for 50gb if I remember correctly
I think 5 gigabytes will be enough for my requirements. Thank you very much for your reply
No problem :)
btw, you don't need to create anything else besides the files folder for this? I mean through the control panel
Well, you'd have the running server and then a volume attached to it
Will Volume automatically connect?
should look something like this
Yeah, that's what I'm doing with the database right now.
No, you'll have to connect it manually, like so:
Got it, thanks 🫡
Happy to help