derlin / docker-compose-viz-mermaid

Generate beautiful visuals from docker-compose files. The mermaid graph can be exported to PNG, SVG, or edited directly in https://mermaid.live.

Home Page:https://derlin.github.io/docker-compose-viz-mermaid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

filter a subset of services

mgaitan opened this issue · comments

my compose file is very complex with at least a dozen services. A single diagram is too big and turns useless. It would be nice to specify via the command line the list of services to consider in the diagram. Given a service, its dependencies (depends_on) should be automatically included.

This is a very good feature idea. Having a sort of whitelist for services is easy, following the depends_on adds some complexity, but shouldn't be that hard. I'll see as soon as I find some time to work on this project.

To anyone interested, this is a very good first issue :)