Skip to content

Configure the Cratis Chronicle Kernel

Configure the Chronicle Kernel with a chronicle.json file, Cratis__Chronicle__ environment variables, or both. Environment variables override matching file settings, letting you share a configuration file while supplying deployment-specific connections and credentials separately.

Start with Configuration File to place the file, or Docker Configuration to mount it in a container. Use Configuration Precedence when a setting does not match the value you expected.

{
"port": 35000,
"storage": {
"type": "MongoDB",
"connectionDetails": "mongodb://localhost:27017"
}
}
Section Description
Root properties Ports and health check endpoint
Features API, Workbench, and OAuth authority toggles
Workbench The path the Workbench is served under
Storage Storage provider configuration
Compliance Dedicated storage for compliance encryption keys
Clustering Orleans clustering provider, cluster identity, and ports
Observers Retry and timeout settings
Read models Replay retention for replay-generated read model versions
Events Event queue configuration
Memory Memory budget for work with a large footprint
Jobs Parallel job step throttling
Authentication External authority, default admin, and initial admin user bootstrap
TLS Every certificate the kernel uses, with required usages, for the Chronicle port and cluster traffic
Encryption certificate Certificate protecting OAuth keys, webhook credentials, and Data Protection keys
Health Dedicated port for the health endpoint
Identity Provider Certificate Ignored legacy setting; migrate to the shared TLS certificate
Clients Bootstrap client registrations created on startup

The example selects MongoDB storage and port 35000; it is not a complete production configuration. Before starting the production image, configure the TLS certificate and Data Protection Key Encryption, and review Production hosting for the requirements and supported alternatives.

If your deployment provisions storage before starting replicas, use SQL schema operations or MongoDB index operations. Their verification modes have different startup behavior and runtime permission requirements.