I have three different projects, ProjectA depends on ProjectB, which in turn depends on ProjectC.
Suppose you want to develop only ProjectC, so I want to use the configuration with one container only at runtime.
ProjectB needs ProjectC, so I have to define a docker layout with two images.
ProjectA again needs ProjectB and ProjectC, so I'm afraid that I will either have to duplicate a lot in each docker-compose.yml , the longer the dependency chain gets.
I know that I can link external images in the docker-compose.yml file, but that means more manual configuration, since I have to check every project and run docker-compose.yml in each of them.
Basically, I am wondering how I can control the docker layout setup for microservice architecture.
Due to the lack of a better phrase: can I expand the docker-compose.yml files?
source share