Browsing and modifying volumes

6 months ago

I have deployed a docker image and attached a volume to it. How can I browse files in that volume? How to upload or modify files there?

Solved$10 Bounty

Pinned Solution

6 months ago

I have found that I can simply use git to manage files easier and better. And, since I have hosted my Git instance on Railway, I can use that, too.

18 Replies

Railway
BOT

6 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


Railway

Hey there! We've found the following might help you get unblocked faster: - [🧵 Regarding Volumes](https://station.railway.com/questions/regarding-volumes-3f9df81d) - [🧵 browse files on a volume?](https://station.railway.com/questions/browse-files-on-a-volume-d3481b4f) - [🧵 Using a temporary volume](https://station.railway.com/questions/using-a-temporary-volume-52204d54) - [🧵 How do I browse file in a storage volume?](https://station.railway.com/questions/how-do-i-browse-file-in-a-storage-volume-2dff0788) If you find the answer from one of these, please let us know by solving the thread!

6 months ago

I found mention of file browser services in the docs. What is it exactly? Tell me how to do it. I would prefer a DIY method instead of using 3rd party templates. Another way was using curl but that only allows uploading files from volumes to other places I guess...


6 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 6 months ago


6 months ago

+1 emoji


6 months ago

Hey there!
Sadly Railway does not have a native file browser.
Your best method is using a community template or a custom solution.
Best,
Noah.


case
PRO

6 months ago

@khalidrafi you can use railway ssh to sign in to your app's running instance, and use Unix commands like ls to see which files are there. Depending on which framework you are using, you may be able to add web-based file browsing via an off-the-shelf open source library? Be very careful though, as it's easy to overlook security issues with file browsing like this.


6 months ago

@khalidrafi you should looking for a client to access your database. There are options like Tableplus to DBeaver


case
PRO

6 months ago

@devnullone he didn't mention a database, he mentioned needing to browse files


noahd

Hey there!Sadly Railway does not have a native file browser. Your best method is using a community template or a custom solution. Best, Noah.

6 months ago

Which template is best? I'm using Gitea with Docker. I would prefer making a template on my own. So, I'd really appreciate instructions on how to do that!


khalidrafi

Which template is best? I'm using Gitea with Docker. I would prefer making a template on my own. So, I'd really appreciate instructions on how to do that!

6 months ago

Well, creating a file browsing template is quite complex. You would need to from the ground up create a system to view, edit, delete files.

If you choose one of the templates, you are completely self hosting it. Nobody but you has access to it and the code/config is all open sourced for you to see.


noahd

Well, creating a file browsing template is quite complex. You would need to from the ground up create a system to view, edit, delete files. If you choose one of the templates, you are completely self hosting it. Nobody but you has access to it and the code/config is all open sourced for you to see.

6 months ago

Nobody but you has access to it with configuration. Be mindful of what template you use and configure it as the template instructs.


case
PRO

6 months ago

@khalidrafi - can you explain what problem you are trying to solve? You can browse the files manually via railway ssh but this may not be what you're actually looking to do?


case

@khalidrafi - can you explain what problem you are trying to solve? You can browse the files manually via railway ssh but this may not be what you're actually looking to do?

6 months ago

I want to browse and modify files


case
PRO

6 months ago

@khalidrafi since Railway doesn't have a built-in file browser, have you looked into using one alongside whatever framework or Dockerfile you are using?


khalidrafi

I want to browse and modify files

6 months ago

As I said, I suggest using a file browser template.


noahd

As I said, I suggest using a file browser template.

6 months ago

Which one would be best? What does everyone use?


khalidrafi

Which one would be best? What does everyone use?

6 months ago

I believe I see people using: https://railway.com/deploy/Nan7Bs frequently. However, you might be able to browse github for something that would work best for you.


noahd

I believe I see people using: https://railway.com/deploy/Nan7Bs frequently. However, you might be able to browse github for something that would work best for you.

6 months ago

That says "44% success in recent deployments".


6 months ago

I have found that I can simply use git to manage files easier and better. And, since I have hosted my Git instance on Railway, I can use that, too.


Status changed to Solved brody 6 months ago


Loading...