Docker Compose Include
How to Import Docker Compose Configs
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.