Runtime vars for automated deployments
switzer opened this issue · 2 comments
switzer commented
I am running IODocs inside of a Docker container, which sets up the Redis DB hostname and port upon startup (e.g. after configuration of the config file is completed). Because of this, I would like to pass in dbhost and dbport as args to the startup command, as follows:
node app.js -p 3000 -dbhost 10.0.0.2 -dbport 6379
switzer commented
Note - as I am looking at changing the code for this enhancement, I see that optimist is deprecated, in favor of minimist. I will make this change as well.
switzer commented
After looking at the code, it looks like I can use REDISTOGO_URL for this purpose.