box
. This is idea for Docker containers or CI builds were you want to easily set one-off settings and not require an entire JSON file. You set set these as actual environment variables or Java system properties of the CLI. Env vars are loaded AFTER any .cfconfig.json
files have been loaded by convention and will override any settings in the JSON. They are not case sensitive. cfconfig_
and will be followed by the name of the setting.myDSN
in the server.cfconfig set
command uses, which means you can also pass JSON directly for complex values.config set
command. Ex:append
flag will be set to true when adding the configuration to what's already in CommandBox..cfconfig.json
file and will be lost when box stops. They will also take precedence and override any explicit settings already set.