-
Notifications
You must be signed in to change notification settings - Fork 290
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
Define environment variables for deployed containers #95
Comments
This is probably part of the application configuration. Along with the volume and image information, we should include a section for environment variables and their values. |
We can probably do the demonstrations we want for 0.1 without this feature. |
Latest gear supports this I think, but we may need to update the gear we've packaged. |
It seems that our versions of gear and docker do allow us to supply environment variables.
See openshift/geard#208 for the gear feature discussion. Next I'll see if it's possible to supply environment variables via the REST API. |
Ok, after some trial and error, I figured out that this is how to set the environment from the REST API
|
I created a geard ticket suggesting they document this. See openshift/geard#256 |
Remaining work to be covered by this issue: user facing documentation and entry in What's New. Unless there's something I'm missing? I guess there's also "notice if environment variables changed" which maybe is a follow up issue? |
Docker convention is to supply runtime configuration to containers as environment variables. A user must be able to define the environment for each container in the Flocker configuration.
The text was updated successfully, but these errors were encountered: