Skip to content

How config works

Each unit has one YAML file:

<base>/conf/<unit-name>.yaml

The file name is the unit name.

Unit names must use lowercase letters, digits, and single dashes.

Valid names:

myapp
db-main

Run dpl check before a deploy:

Terminal window
dpl check myapp

This 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.