Skip to content
How get access to local storage in prodution
abdulloevdilshod
OP

2 years ago

How can i get access to local storage file in production?

Closed

32 Replies

abdulloevdilshod
OP

2 years ago

18186ea6-afdb-41cb-9416-d25075882b5c


2 years ago

by using the railway cli and doing a railway ssh into the container or by using a file browser template that you can find in the railway marketplace



abdulloevdilshod
OP

2 years ago

thanks


abdulloevdilshod
OP

2 years ago

i need to install nano for open file,


abdulloevdilshod
OP

2 years ago

?


2 years ago

good question, ssh is fairly new and I don't know much about it


2 years ago

try apt update and then apt install nano


abdulloevdilshod
OP

2 years ago

sh: apt: not found


abdulloevdilshod
OP

2 years ago

))


abdulloevdilshod
OP

2 years ago

another question how configure local storage? for saving files,


abdulloevdilshod
OP

2 years ago

?


2 years ago

hmmm I guess it depnds on the img ur running



2 years ago

try this template


2 years ago

seems like the better option


abdulloevdilshod
OP

2 years ago

i don't fully understand this template like s3 storage or what how can i access to my local file storage in my server,


abdulloevdilshod
OP

2 years ago

?


abdulloevdilshod
OP

2 years ago

can someone help me please


abdulloevdilshod
OP

2 years ago

how about 2 volumes. i read in docs that i can't create 2 volumes for one service. But i have one folder and one json file which uses as local storage, what can i do in this situation


abdulloevdilshod
OP

2 years ago

@Medim @Brody


2 years ago

please do not ping people


2 years ago

try the template medim linked


abdulloevdilshod
OP

2 years ago

ok sorry, i don't understand how use it


abdulloevdilshod
OP

2 years ago

i deployed it than what i need to do?


2 years ago

swap the volumes around


abdulloevdilshod
OP

2 years ago

How!?


abdulloevdilshod
OP

2 years ago

please someone help me


2 years ago

unmount the volume and re-mount them


abdulloevdilshod
OP

2 years ago

i can mount only one volume to the template. but i need two volumes


2 years ago

that's correct, we only support mounting a single volume to a single service at a time


abdulloevdilshod
OP

2 years ago

but my question was about 2 volumes


Welcome!

Sign in to your Railway account to join the conversation.

Loading...