How To Add Images/Media Files?
aznian2g
HOBBYOP

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!

Awaiting Conductor Response$10 Bounty

4 Replies

Railway
BOT

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


You can use volume or railway bucket for storing media


sonia_
FREE

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

aznian2g
HOBBYOP

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 ?

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...