riemann / riemann-dash

An HTTP dashboard for Riemann.
MIT License
248 stars 102 forks source link

Config can be specified with RIEMANN_DASH_CONFIG #94

Closed md5 closed 9 years ago

md5 commented 9 years ago

If specified, RIEMANN_DASH_CONFIG will override the default value of config.rb

aphyr commented 9 years ago

Thank you, Mike!

md5 commented 9 years ago

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.