I have a stack that consist of three git repositories and applications:
- The Frontend Application
- The Backend Application
- The Worker Application
They all work together with a docker-compose.yml file that also includes other resources and images needed to deploy the app.
When I deploy the application, I only need to push the docker-compose.yml file, or in the case of AWS it would be an Dockerrun.aws.json file. So my question is... Where should I keep this file? It does not belong to any of the repositories above since it orchestrates all of them.
Should I set up a 4th repository called "The Deployment Repository" that keep all my deployment files and configurations? Or do I pick a repository from above that I decide is "The repo I deploy" where I keep all of it? Or do I perhaps store copies of the deployment in all repositories so that I can deploy the full application no matter which repository I'm working on?