A configured nconf instance for great application configuration.
Default JSON File. The base configuration, overridden by all of the below.
Environment Specific JSON file. Will override anything set in defaults.json
VPN Specific JSON file. Will override anything set in environment.json. Only
activated if the special environment variable VPN
is set to true
Any process variable set will override anything in the specified JSON files. Process variables have a special format so given the following JSON configuration:
{
"CONFIG": {
"TEST": {
"OVERRIDE": "Value"
}
}
}
The process variable to override the Value
would be CONFIG__TEST__OVERRIDE