R
Railway•8mo 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•8mo ago
yep, use the filebrowser template! https://railway.app/template/Nan7Bs
TheRuminator
TheRuminatorOP•8mo ago
Oh wow Thanks I'll try this and update here
TheRuminator
TheRuminatorOP•8mo ago
@Brody keep seeing this
No description
Brody
Brody•8mo ago
gotta wait a bit
TheRuminator
TheRuminatorOP•8mo ago
okie
Brody
Brody•8mo ago
railway takes a few moments to register new domains
TheRuminator
TheRuminatorOP•8mo 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•8mo ago
in the service variables
TheRuminator
TheRuminatorOP•8mo ago
found it! however, it did not ask me which volume i want to browse?
Brody
Brody•8mo ago
nope, you need to attach your volume to it
TheRuminator
TheRuminatorOP•8mo ago
ah and it already has one attached that'll also stay?
Brody
Brody•8mo ago
nope you need to remove that
TheRuminator
TheRuminatorOP•8mo ago
looks like this
No description
Brody
Brody•8mo ago
indeed it does
TheRuminator
TheRuminatorOP•8mo 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•8mo 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
TheRuminatorOP•8mo 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•8mo 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
TheRuminatorOP•8mo ago
okay
Want results from more Discord servers?
Add your server