docker-compose-viz icon indicating copy to clipboard operation
docker-compose-viz copied to clipboard

Malformed inline YAML string error when using command arguments list

Open matt24smith opened this issue 2 years ago • 1 comments

Thanks, this package saved me a lot of time.

I get an error when using docker-compose commands in list format, e.g.

version: "3.9" 

services:
  example:
    command: 
        [
            "bundle", 
            "exec", 
            "thin", 
            "-p", 
            "3000"
        ]

producing a Malformed inline YAML string error. Would it be possible to add support for this? In the meantime I can work around it by commenting out the command, creating the graph, and then reverting my changes.

matt24smith avatar Jul 14 '23 15:07 matt24smith

possibly duplicate of #64 ?

matt24smith avatar Jul 14 '23 15:07 matt24smith