Open clach04 opened 1 year ago
Possible with docker-compose.yml / Dockerfile scanning?
Primary focus would be Caddyfile. Would not need a complete parser.
{}
partially grep hack:
cat Caddyfile | grep http | grep -- {
one line per "host" / URL:
cat Caddyfile | grep -v '^#' | grep http | grep -- {| sed -e 's/{//g' | sed -e 's/,/\n/g' | sed -e 's/ //g'
Discovered https://github.com/samcro1967/docker-compose-ports-dump which was created a day after this issue was opened! This scans docker-compose.yml (ONLY, i.e. no Caddy support).
docker-compose.yml
Possible with docker-compose.yml / Dockerfile scanning?
Primary focus would be Caddyfile. Would not need a complete parser.
{}
and the bit beforepartially grep hack:
one line per "host" / URL: