How to deploy using docker-compose
mooyg
HOBBYOP

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


mooyg
HOBBYOP

a year ago

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


mooyg
HOBBYOP

a year ago

😄


a year ago

Is that not what you’re looking for? That looks like a solution to me.


mooyg
HOBBYOP

a year ago

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.


mooyg
HOBBYOP

a year ago

yea, seems to be like it doesn't 😄


mooyg
HOBBYOP

a year ago

Do these have any extra cost?

1365312334956068900


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


Loading...