R
Railway•3mo ago
TheRuminator

browse files on a volume?

is it possible to browse the files stored on a volume? (im thinking some kind of web interface?)
Solution:
yep, use the filebrowser template! https://railway.app/template/Nan7Bs
Jump to solution
19 Replies
Solution
Brody
Brody•3mo ago
yep, use the filebrowser template! https://railway.app/template/Nan7Bs
TheRuminator
TheRuminator•3mo ago
Oh wow Thanks I'll try this and update here
TheRuminator
TheRuminator•3mo ago
@Brody keep seeing this
No description
Brody
Brody•3mo ago
gotta wait a bit
TheRuminator
TheRuminator•3mo ago
okie
Brody
Brody•3mo ago
railway takes a few moments to register new domains
TheRuminator
TheRuminator•3mo ago
okay will check back in a bit! seems to be working now! could you tell me where i can find my password and username for this? i think i did enter a variable name for the username but dont remember creating any password 🤔
Brody
Brody•3mo ago
in the service variables
TheRuminator
TheRuminator•3mo ago
found it! however, it did not ask me which volume i want to browse?
Brody
Brody•3mo ago
nope, you need to attach your volume to it
TheRuminator
TheRuminator•3mo ago
ah and it already has one attached that'll also stay?
Brody
Brody•3mo ago
nope you need to remove that
TheRuminator
TheRuminator•3mo ago
looks like this
No description
Brody
Brody•3mo ago
indeed it does
TheRuminator
TheRuminator•3mo ago
okay i see so looks like ideployed the file browser as its own project i should deploy it within the same project as the volume i wish to browse to be able to share the same volume between my existing deployment and the file browser, right?
Brody
Brody•3mo ago
you do need to deploy it into the same project but you can not share the volume between two services, you would need to remove the volume from your app and attach it to the filebrowser service
TheRuminator
TheRuminator•3mo ago
oh i see hmmmm so lets say my program is writing data to the volume, i cannot see the files being added in real time
Brody
Brody•3mo ago
unless your app itself implements such functional, no all file access to the volume needs to be done by the service it's attached to, and you can only attach one volume to one service at a time
TheRuminator
TheRuminator•3mo ago
okay