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

inject ENV variables to yaml #1338

Closed
wants to merge 1 commit into from
Closed

inject ENV variables to yaml #1338

wants to merge 1 commit into from

Conversation

mattes
Copy link

@mattes mattes commented Apr 24, 2015

inject ENV variables to yaml

#1287

Signed-off-by: Matthias Kadenbach <matthias.kadenbach@gmail.com>
@funkyfuture
Copy link

#685 does this as well and allows defaults.

@dnephin
Copy link

dnephin commented Apr 24, 2015

#76 took a very similar approach. The problem with the approach is that it makes it really easy to corrupt your yaml, or even allows unexpected environment variables to add new sections, services or even commands to compose, which could be used maliciously.

I strongly believe environment substitution needs to happen on a per-fiend basis. It's more work, but it's much safer.

@dnephin
Copy link

dnephin commented Aug 7, 2015

This is done in #1765

@dnephin dnephin closed this Aug 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants