Docker Compose Support

Hey y'all- I worked on a guide to port over a Docker Compose file over to Railway. Like most things when it comes to product development here at Railway- we usually tend to write a guide before we start integrating support into the product.

I presume this is me asking the community if it's something that I should spend my time considering I hacked on preliminary support in our internal hackathon.

Completed

12 Replies

ray-chen
EMPLOYEE

2 years ago

I presume this is me asking the community if it's something that I should spend my time considering I hacked on preliminary support in our internal hackathon.

Methinks yes, I'd love to have compose natively supported. One of the biggest friction point from "dev->prod" is "how do I match prod to my dev env"

Most dev stacks include a compose file for you to spin up dependencies locally. It's a natural standard starting point today for when you want to distribute dependencies of your app and ensure that "works on my local machine, not sure why not on yours" isn't a class of problem to contend with at all.

If we can marry the two notions and have "docker compose just work in production" I think it's a killer feature


vin
PRO

2 years ago

Docker compose is definitely a must-have. There are so many projects out there, or like Ray said, dev stacks that are built with compose for speed of code to working product, that Compose is pretty essential to the dev cycle.

I also know that as a template maker, compose would help out, as the iteration process of converting compose to railway components/services is tedious and time consuming. Being able to drop that compose file and have it up and running would make life so much easier.


tim
HOBBY

2 years ago

In almost all of our projects, there is a Docker Compose file for local development. It's essential for our team.

This feature would allow bigger companies, aka the interesting Customers, to get quickly started on Railway with an existing project. We have one project where we would love to move it to another provider, but the required time investment and associated risks don't justify the savings.

Trying out a service when you can just get started with your current setup can be tempting.



jaapweijland
PRO

a year ago

It’s here as of yesterday!


moaaz-bhnas
HOBBY

a year ago

Where? Can't find any reference to it in the docs


moaaz-bhnas

Where? Can't find any reference to it in the docs

jaapweijland
PRO

a year ago


joeyfigaro
HOBBY

a month ago

..


jaapweijland

It's announced here: https://railway.com/changelog/2024-12-20-collapsed-groups

joeyfigaro
HOBBY

a month ago

No mention of how this works with Railway's start.sh handling.


jeck0v
PRO

a month ago

Is there still support for Docker Compose, or has it been removed? I can't see any mention of support anywhere except in the change logs....


jeck0v

Is there still support for Docker Compose, or has it been removed? I can't see any mention of support anywhere except in the change logs....

You're still welcome to drag and drop compose files right into the canvas, but it may not work completely as intended.


samgordon

You're still welcome to drag and drop compose files right into the canvas, but it may not work completely as intended.

jeck0v
PRO

a month ago

I just realised why it wasn't working, my bad, have a good day


Status changed to Solved samgordon 27 days ago


Status changed to Completed samgordon 27 days ago


Loading...