a year ago
I have a repo in which I have a docker compose file can I use it to deploy? If so how and where can I read about it
11 Replies
a year ago
Google is a very helpful tool! This was the first result when I searched “Railway Docker Compose” https://docs.railway.com/guides/dockerfiles#docker-compose
Yes
You can import services straight from your Docker Compose file! Just drag and drop your Compose file onto your project canvas, and your services (and any mounted volumes) will be auto-imported as staged changes. It’s like magic, but with YAML instead of wands. 🪄
A quick heads-up: we don’t support every possible Compose config just yet (because Rome wasn’t built in a day). But don’t worry, we’re on it!
Although this isn't a good doc
a year ago
Is that not what you’re looking for? That looks like a solution to me.
don't think so it works for building docker files mentioned within compose am I correct?
a year ago
Have you tried it yet? I don’t know the specifics of how the import process works.
a year ago
Do what? Replicas? Regions? Resource limits?
a year ago
Replicas are copies of your existing app. They effectively multiply the spend of your service by the number of replicas you have
a year ago
you should not use replicas unless you know you need them
