As I'm working on dockerizing Doorman, being able to start it loading config from env vars is the easiest and simplest solution and the most flexible.
My proposal does not involve changing code, but adding a conf.environment.js file to copy as conf.js for scenarios where it is needed.
Most of the config params are covered. It works successfully for me for GitHub auth by running Doorman like this:
As I'm working on dockerizing Doorman, being able to start it loading config from env vars is the easiest and simplest solution and the most flexible. My proposal does not involve changing code, but adding a conf.environment.js file to copy as conf.js for scenarios where it is needed. Most of the config params are covered. It works successfully for me for GitHub auth by running Doorman like this: