octoblu / meshblu

Meshblu is a cross-protocol IoT machine-to-machine messaging system.
https://meshblu.readme.io/
MIT License
816 stars 182 forks source link

Should allow for environment variables to supercede config.js #10

Closed jsgoecke closed 10 years ago

jsgoecke commented 10 years ago

In order to ease deployment to places like Heroku, it would be great if the config.js could be derived from environment variables. This means that you would also want those environment variables to supercede the config.js.

chrismatthieu commented 10 years ago

I would like to enhance the deployment side of skynet making it easier to deploy localhost or enterprise inc: data stores etc. I like your idea of environment variables as well as a simple web page for configuring deployments.

rsbohn commented 10 years ago

See skynet-docker for a partial solution.

chrismatthieu commented 10 years ago

Our config.js now supports environment variables for every config parameter!