diff --git a/lib/configuration.js b/lib/configuration.js index 38b33467af2093d6c424a7b59b0c7b8e2f8012fb..e6a581939b03598fc3e8833be71cffc04c385f88 100644 --- a/lib/configuration.js +++ b/lib/configuration.js @@ -138,7 +138,11 @@ var conf = module.exports = convict({ format: 'number = 0.0', env: 'KPI_BACKEND_SAMPLE_RATE' }, - kpi_backend_db_url: 'string = "http://localhost/wsapi/interaction_data"', + kpi_backend_db_url: { + doc: "URL of KPiggyBank service to send Key Performance Indicator data to", + format: 'string = "http://localhost/wsapi/interaction_data"', + env: 'KPI_BACKEND_DB_URL' + }, bcrypt_work_factor: { doc: "How expensive should we make password checks (to mitigate brute force attacks) ? Each increment is 2x the cost.", format: 'integer{6,20} = 12',