Build fails when pushing a project with docker-compose file.
I am trying to link a project from cli and trying to push it to railway. i am using a docker compose here, so that both of my microservices can talk. any help is appreciated
11 Replies
Project ID:
a2f82fca-e77f-4f94-b013-6c6c348ca04f
Railway does not support Docker-Compose
a2f82fca-e77f-4f94-b013-6c6c348ca04f
how to ensure my microservices talk to each other then? one service depends on the other
You would need to use private networking
and create an each service independently?
Yes
any docs / material would be helpful here
https://docs.railway.app is a great place to start
i mean regarding this networking. any templates or such kind. where should i mention, that service a depends on b
Solution
Private Networking is the same as declaring the network in your docker-compose.yml file