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

Support for port long syntax

Open theitalianz opened this issue 3 years ago • 1 comments

Use case: https://docs.docker.com/compose/compose-file/compose-file-v3/#ports

  ports:
  - published: 80
    target: 8080
  - published: 9101
    target: 9101

theitalianz avatar Jan 31 '22 19:01 theitalianz

Would it make more sense to make the if (is_array($port)) { ... } portion inside of the explodePortMapping function instead of breaking it away from there?

benyafai avatar Apr 12 '22 08:04 benyafai