docker-compose-viz
docker-compose-viz copied to clipboard
Support for port long syntax
Use case: https://docs.docker.com/compose/compose-file/compose-file-v3/#ports
ports:
- published: 80
target: 8080
- published: 9101
target: 9101
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?