R
Railway11mo ago
Aviz

Communication between projects without requests

Hey everyone, a question. Is it possible to establish communication between projects? For example, I've integrated Filebrowser into project X and would like project Y in Node.js to place my image and document files in a folder within project X, which we can call 'filesProjectY'. I know that my project X, with Filebrowser, generates a URL, and so on, but I'm interested in making this communication internally without the need to make a request and authenticate with the URL of project X. Did you understand? The project X would only have Filebrowser.
No description
No description
30 Replies
Percy
Percy11mo ago
Project ID: N/A
Aviz
Aviz11mo ago
N/A
Brody
Brody11mo ago
the private network can only be done in the same project you want to have the filebrowser deployment in the same project as the service that needs to access it
Aviz
Aviz11mo ago
Yes, that's what I read in the documentation, but I thought that somehow it would be possible, communication between projects, without making requests. Since I'm on the same panel, I thought that the projects would be containers, and I would be able to perform volume mapping.
Brody
Brody11mo ago
they do have to be in the same project redeploy the filebrowser instance into the correct project
Aviz
Aviz11mo ago
OK thanks!
Brody
Brody11mo ago
but minio would be much better for this, still would need to be in the same project though
Aviz
Aviz11mo ago
What is Minio? Can I also deploy it? Is there a template? How do I make my filebrowser deployment read the folders from my Node.js project Y? Should I detach any volumes? I'm opening filebrowser, but I can't see my project folder Y.
Aviz
Aviz11mo ago
No description
Brody
Brody11mo ago
minio is an s3 compatible storage solution you can't attach a volume to multiple services, this is why I recommend minio and yes there is a template
Aviz
Aviz11mo ago
I don't need volumes; I just want my filebrowser to show me the folders from deployment Y. Is it possible? Can I delete the volume attached to deployment Y I will study about Minio, but I need to resolve this
Brody
Brody11mo ago
then unmounted the volume from filebrowser and unmount the volume from Y and mount it to the filebrowser service
By default, the storage location is set to the storage subdirectory in the root of the volume, but by setting a service variable USE_VOLUME_ROOT to 1 you can opt to use the root of the volume as the storage location instead
By default, the storage location is set to the storage subdirectory in the root of the volume, but by setting a service variable USE_VOLUME_ROOT to 1 you can opt to use the root of the volume as the storage location instead
Aviz
Aviz11mo ago
I went through the process, but it still doesn't display the folders of my Y deployment.
Aviz
Aviz11mo ago
No description
Aviz
Aviz11mo ago
😭
Brody
Brody11mo ago
have you saved the files to the volume in project y?
Aviz
Aviz11mo ago
I deleted the Y deployment volume, wasn't that what you told me to do? I don't need it; I just want to see my Y deployment files through the file browser.
Aviz
Aviz11mo ago
No description
Brody
Brody11mo ago
that's not possible
Aviz
Aviz11mo ago
But is it possible for me to attach a volume to the Y deployment and view it using the file browser? Or make the VOLUME of the Y deployment in filebrowser as a folder for some of my Y deployment files? Is that possible?
Brody
Brody11mo ago
it's not
celebrations
celebrations11mo ago
LOL I DREW THIS SAME DIAGRAM
No description
celebrations
celebrations11mo ago
did you ever find out how to do this? Im trying to access the files of my wordpress service via the filebrowser is this possible?
Brody
Brody11mo ago
youd need to unmount it from the wordpress server and mount it to the filebrowser service
celebrations
celebrations11mo ago
would the wordpress server still be able to access it?
Brody
Brody11mo ago
no, you can only mount one volume to a service at a time
celebrations
celebrations11mo ago
so theres no way to access the contents of a volume other than directly through the service its mounted on
Brody
Brody11mo ago
that is correct
celebrations
celebrations11mo ago
somehow it still working LOL without a mounted volume
Brody
Brody11mo ago
you are responsible for any file corruption that may occur, railway does not keep a backup of the volumes