All the apps have an extended set of configuration options which might need tuning based on different scenarios. These configurations are accepted in the HOCON format.Documentation Index
Fetch the complete documentation index at: https://docs.canton.network/llms.txt
Use this file to discover all available pages before exploring further.
Adding ad-hoc configuration
Every app accepts extra configuration through environment variables. All the environment variables passed to the apps, that start withADDITIONAL_CONFIG will be processed and the configuration will be applied when the app starts.
Example env: ADDITIONAL_CONFIG_EXAMPLE=“canton.example.key=value”
Examples in the Canton docs might have different root configuration keys for the configured nodes; Splice participants/mediators/sequencers are always configured under
canton.participants.participant {/canton.mediators.mediator {/canton.sequencers.sequencer {, respectively.point to the release that these docs are built from; or inline the source code or Scaladoc to avoid confusion
Custom bootstrap scripts
Both Canton and splice support bootstrap scripts during initialization. While this usually should not be needed as the validator app takes care of initializing the node, in some scenarios it can be useful. To do so, you need to set theOVERRIDE_BOOTSTRAP_SCRIPT environment variable to the content of your bootstrap script. Note that the script must be wrapped in a main function, e.g.,
additionalEnvVars as described below.
Note that this overwrites any bootstrap scripts baked into the container image. So if you added custom functionality there, you will need to replicate this in the overwrite.
Helm charts support
The helm charts can be configured through the valueadditionalEnvVars, which passes the values as environment variables to the apps.