I want to use docker for development. I have projects which are somehow connected with each other - API calls between services.
Is it possible to have one generic Dockerfile for starting main project and its dependent projects?
Or maybe it is better to have Dockerfile in every of those projects and fire up them via docker-compose run
separately?
Suppose I have projectMain
, which calls projectA
and projectB
APIs to fullfil some operations.