How config works
Each unit has one YAML file:
<base>/conf/<unit-name>.yamlThe file name is the unit name.
Unit names
Section titled “Unit names”Unit names must use lowercase letters, digits, and single dashes.
Valid names:
myappdb-mainValidation
Section titled “Validation”Run dpl check before a deploy:
dpl check myappThis catches:
- invalid YAML fields
- missing referenced units
- wrong unit types
- missing secrets
- unknown reference keys
dpl rejects unknown fields in a unit’s config. This helps find typos early.