Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Connect Server is usually configured using JSON files, which are located in the installation directory of the application. In special cases, overriding via environment variables or via command line parameters is possible.

...

Default configuration

The default configuration is located in the appsettings.Default.json file. This file should not be changed directly, because these changes may be overwritten by a later upgrade.

Installation-specific configuration

If an installation-specific configuration is to be created, it is recommended to copy the file "appsettings.Default.json" into a file with the name "appsettings.json". This file will not be overwritten in case of an upgrade, so the configuration settings stored here will remain.

...

The default configuration as well as the installation-specific configuration and the environment-specific configuration(s) are still taken into account. The explicit configurations in this case only have to contain the desired deltas.

Priority of the configuration types

If multiple configurations are available, they are applied in the following order:

  1. Default configuration (appsettings.Default.json)

  2. Environment-specific configuration (appsettings.{environment}.json)

  3. Installation-specific configuration (appsettings.json)

  4. Explicit configuration

  5. Override via environment variables

  6. Override via command line

Structure of the configuration file

...