Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't source related .env file? #54

Open
lonniev opened this issue Jan 8, 2021 · 1 comment
Open

Doesn't source related .env file? #54

lonniev opened this issue Jan 8, 2021 · 1 comment

Comments

@lonniev
Copy link

lonniev commented Jan 8, 2021

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?

@TimSpence
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants