Closed md5 closed 9 years ago
Thank you, Mike!
Sure thing. I thought it would be nice in the context of a Dockerized riemann-dash
.
It lets me do something like ENV RIEMANN_DASH_CONFIG /etc/riemann-dash/config.rb
and a simple CMD ["riemann-dash"]
in the Dockerfile while allowing the user to specify an alternate location if they care to with -e RIEMANN_DASH_CONFIG=/some/other/config.rb
.
If specified,
RIEMANN_DASH_CONFIG
will override the default value ofconfig.rb