Set env vars directly in server.json for local one-off overrides
Description
This overlaps a bit with what dotenv does, but I've seen a few scenarios where it would be handy to be able to override some one-off env vars right from the `server.json`.
Notes:
Keys in the env struct can reference other env vars which already exist
The rest of the server.json can reference env vars defined in the "env" object
deep keys such as env[ 'luis' ][ 'majano' ] will be converted to a single key called "luis.majano"
This means you can override a CFConfig setting via env var by EITHER setting "cfconfig_mySetting" or nesting "mySetting" under a "mySetting" object. (requires latest CFConfig)
This overlaps a bit with what dotenv does, but I've seen a few scenarios where it would be handy to be able to override some one-off env vars right from the `server.json`.
Notes:
Keys in the env struct can reference other env vars which already exist
The rest of the server.json can reference env vars defined in the "env" object
deep keys such as env[ 'luis' ][ 'majano' ] will be converted to a single key called "luis.majano"
This means you can override a CFConfig setting via env var by EITHER setting "cfconfig_mySetting" or nesting "mySetting" under a "mySetting" object. (requires latest CFConfig)