docker-compose-viz
docker-compose-viz copied to clipboard
Doesn't source related .env file?
It appears that this nice utility does not pre-process the docker-compose.yml file with its .env file, if a .env file is used to parameterize the compose file. The result is that variable replacements are blanked in the generated image.
Is there an argument or step to use to get the visualizer to use environment variable substitutions before parsing the text of the compose specification?
I realize your question is still unanswered, but I think one simple solution is to pre-process the compose file with docker compose config -f /path/to/compose/file
before passing the output to the visualizer.