-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Specify envvars for docker driver #173
Comments
If you need this right away, a quick-and-dirty solution would be to change |
@hashicorp-team Not sure if this is on your roadmap but I'd be glad to work on it in my free time over the next few weeks and submit a PR. Seems like it's just a matter of adding another map to the Task structure (named |
I was starting to read the code to do exactly that myself. |
Feel free to take it on if you'd like, but either way is fine with me so long as we don't do duplicate work :) |
Yeah, almost got something ready to PR, should be ready tonight or tomorrow morning. |
👍 Cool, sounds great! |
+1 This is critical for pretty much any 12 factor app |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Is there any way to specify environment variables to be sent with the creation of a Docker container? According to the doc, it's not.
I know I can add items to the meta specification directive, and it will, as a result, add envvar to my running container, unfortunately those are prefixed with NOMAD_META_, and developing my application to use those does not seem very agnostic.
Any plans to add an option to specify those?
Regards,
The text was updated successfully, but these errors were encountered: