2 days ago
I'm trying to build a frontend/web pages and want to add some images/video/etc.
How do I upload image files on railway so I can add images/media files to my pages?
TIA!
4 Replies
2 days ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • 2 days ago
2 days ago
You can put images and videos in public folder and can use /image.png in your frontend. If you have large number of files then right click service and attach volume.
mayori
You can use volume or railway bucket for storing media
2 days ago
Thank you so much, where can I learn more about 'buckets' that you're referring too? What do you mean volume by chance ?
aznian2g
Thank you so much, where can I learn more about 'buckets' that you're referring too? What do you mean volume by chance ?
2 days ago
Here's the docs for Railway Bucket, Volume is a persistent storage for railway service, by default, any file changes made inside a service will disappear after redeploy, by attaching a volume, the files you changes will be persistent in the volume