Source controlling (git) docker-compose.yml
Question: Where and how should I check my
docker-compose.yml file into git?
- Nodejs App
- PHP App
One Solution collect form web for “Source controlling (git) docker-compose.yml”
I think that I’ve accidentally answered to this question in other thread: https://stackoverflow.com/a/34001663/381939 (perhaps it is a partial answer)
Anyway, for a situation similar to yours, I have a separate repository for deployment related scripts and configuration. Also, I use git submodules for linking the application repositories into the deployment repo.