apparatus / fuge

The microservice shell
http://fuge.io
MIT License
431 stars 49 forks source link

docker-compose.override.yml and the docker-compose -f flag #159

Open davidmarkclements opened 7 years ago

davidmarkclements commented 7 years ago

https://docs.docker.com/compose/extends/#multiple-compose-files

currently config allows specifying multiple docker-compose files, but they aren't merged

if we merge them, the docker-compose.override.yml would just have to specified in the include array

if not, we may need another a merge-include or some such

davidmarkclements commented 7 years ago

merging wont be as simple as converting yaml to object then doing a deep extend, because of polymorphic structures like build (#158)

But.. If, as a rule, all strings that could potentially be objects were converted into object form first then merging would be as simple as deep extend