Shared Volumes

2 years ago

Would be great to see the ability to attach a single volume to multiple services, including the ability to have individual mount points per service.

Some related threads from Discord that include discussion around this topic are:

Supabase Discussion
Shared Volumes Blocking Adoption

I'll gladly dig up more discussion around these features if needed.

11 Replies

tnederlof
TRIAL

2 years ago

Even having read only shared volumes would really unlock some usecases. I have some applications where I need to cache packages/files and having each container be able to read from a shared volume would enable them to start much faster.


mattcaruso
HOBBY

a year ago

Another common use case, in lieu of having a first-party file viewer, is to be able to run a service which serves a file browser UI with another service which is actively using the volume for its function.

For example, a service for serving an HTTP API and a second service which acts as a CMS for populating the files served by the API.


ay1man4
PRO

6 months ago

Most of project deployment in railway are failed due to this missing feature. Any docker-compose project with shared volume between services is not applicable for railway.
I think this feature is one of the most important features that should have given priority.


dancolgh
HOBBY

4 months ago

Hi

I was reading through this thread about Shared Volumes — the ability to attach a single volume to multiple services with individual mount points — and I was wondering if this functionality is currently supported or if there are plans to add it soon?

In my case, I run several Odoo instances that all need to use the same set of custom addons, so having a shared volume would be extremely helpful. Right now, this limitation makes it hard to manage and deploy efficiently.

Any updates on this feature would be greatly appreciated!


4 months ago

Hello,

Unfortunately, we don't have any updates here, we are not currently planning to implement this, so I am unable to offer an ETA.

Generally, we would need to see a bigger need than 20 upvotes to implement such a large feature.

Best,

Brody


zacholas
PRO

4 months ago

Consider me an upvote — I have a system where a user uploads a spreadsheet file and the backend dispatches jobs to a queue for workers to process the file and insert records from into the database. Having to do a huge amount of faff to move the file around for worker access that could be easily avoided with a shared volume


Anonymous
FREE

2 months ago

This is the type of feature that would allow larger projects to come to Railway. I came to test out a large production deployment that I'm considering moving from AWS, and I got stopped by the lack of shared volumes.

Simple deployments can do okay without shared volumes, but as soon as we talk about multiple containers all sharing a similar workload, this is pretty important.

I hope Railway considers adding shared volumes at some point. The platform looks promising, otherwise.


xnarkon
PRO

24 days ago

I would love to get this feature IMO this is must have for any more complicated project.


pipech
PRO

22 days ago

We now get 40+ upvotes, let's hope for the best.


goodecodesir
HOBBY

21 days ago

Oh man this would be great to have. I have docker compose projects that use shared volumes. Hope this is on the roadmap now.


techspawn
FREE

4 days ago

We’re now at 50 upvotes—clearly, shared volumes are in high demand. This feature is a must for more complex projects on Railway. Really hoping it gets prioritized soon!