5 months 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!
Pinned Solution
5 months 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
4 Replies
5 months ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • 5 months ago
5 months 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
5 months 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 ?
5 months 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
Status changed to Solved medim • 4 months ago