Module: config

The configuration parameters module of the webserver adapter.

The property values of this object will be resolved during the startup process.
This object will appear as the default setup within the container.config object during the startup process, when the startup function of this adapter is called.

In order to change the values of the configuration parameters, use either the corresponding environment variables, or merge your config object, with this default config setup.

module:config

The default configuration of the application

Properties:
Name Type Description
app.name String

The name of the application

app.version String

The version of the application

configFileName String

The name of the config file. Default: config.yml

logger.level String

The log level: (info | warn | error | debug). Env. var.: LOG_LEVEL.

logger.transport.console.format String

The format of the log. Either plainText or json. Env. var.: LOG_FORMAT