Docker Compose Include

How to Import Docker Compose Configs

Mohammad-Ali A'RÂBI
ITNEXT
Published in
2 min readJul 13, 2023

--

Back in 2018, I was working at a company with microservices architecture. To run the application locally, we had the following structure:

  • A git submodule with a docker-compose.yaml that had the whole project with the production Docker images,
  • On each part of the application, another docker-compose.yaml file that was based on the shared configuration and would extend the services in a way to enable us to run and test them locally.

--

--

Writer for

Software Engineer at Haufe Akademie | Docker Captain | Content Creator