-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include multiple docker-compose.yml in chart #43
Comments
Merge multiple yml files together, then run docker-compose-viz on newer generated yml. docker-compose -f docker-compose.yml -f docker-compose.local.yml -f docker-compose.local-dev.yml config > tmp.yml
docker run --rm -it --name dcv -v $(pwd):/input pmsipilot/docker-compose-viz render -m image tmp.yml --force
rm tmp.yml |
The more I read this issue, the more I think the best solution is what @agravelot explained. Merging What do you think? |
Just wanted to chip in that I tried the technique above (two docker-compose files - run through docker-compose config - chart with the output) and hit a few issues, likely due to the docker-compose config output creating structures that the code could not recognise. Mostly this was in port mappings. E.g.
Would get written out as:
Which then errors on processing:
I also found it added a Think I'll end up just appending my files, because there is no actual "overriding" of config happening between them, but suspect |
merging in two docker-compose files does not work when two docker-compose files are placed in two different directories and when they are using the absolute path in volumes. |
I'm having the same issue with ports, I opened #62, it should help. |
Hi all! I'm currently working on this and a preview is available in the You can now use bin/dcv render docker-compose.yml docker-compose.local.yml docker-compose.local-dev.yml
|
A really nice tool - I like it a lot.
I'm not sure if it is hard to do but I could use if it would include multiple docker-compose files. I have a complex setup where i use docker-compose-letsencrypt-nginx-proxy-companion so I have a shared network between several dockers. Would be nice to do a system-wide drawing :)
The text was updated successfully, but these errors were encountered: