Ditto Edge Server is configured entirely by a static YAML configuration file. This file defines all
aspects of the server’s behavior, including resource definitions, authentication settings, and
network configurations.
The configuration file takes the following general structure:
Configuration Schema
Edge Server provides a comprehensive JSON Schema that documents all available configuration options, validation rules, and examples. This schema enables IDE autocomplete and validation for your config files.
Viewing the Schema
IDE Integration
Most modern editors support YAML schema validation. Enable it by adding a schema directive at the top of your config file:
Schema-based validation catches configuration errors before runtime, making it easier to discover available options and ensuring your config file is correct.
Validating Configuration
Validate your configuration file without starting the server: