Skip to content

Instantly share code, notes, and snippets.

View brunodb3's full-sized avatar
πŸ’»
Doing stuff

Bruno brunodb3

πŸ’»
Doing stuff
View GitHub Profile
@brunodb3
brunodb3 / description.md
Created April 13, 2022 13:06 — forked from juanje/description.md
Connect services with docker-compose at multirepo project

Connect services with docker-compose at multirepo project

Sometimes you have a project with different services (or microservices) and each one of them has its own repository. At those cases, tests the whole project (and its interactions) can be challenging.

With Docker and Docker Compose you can run easily each service from its repo, but for making them to see each other you (usually) need to manually create a network with Docker, assume so facts (as directories names) or do some crazy network configurations.

TL;DR

You have the final configuration here.