Skip to main content

Environment

Treasury can be configured with environment variables.

Either by running the container directly, or running with supervisor.

Variables

CORDIAL_LOG_FORMAT

  • default unstructured logs
  • json - JSON formatted logs.

TREASURY_HOME - path to directory storing Treasury state.

TREASURY_CONFIG - path to Treasury toml configuration file.

CROSSCHAIN_CONFIG - path to crosschain config file.

CORDIAL_ENGINE_ARGS - additional arguments to pass to engine process.

CORDIAL_SIGNER_ARGS - additional arguments to pass to signer process.

CORDIAL_CONNECTOR_ARGS - additional arguments to pass to connector process.