Skip to content
DocsValidation

Validation

The app refuses to save invalid YAML and underlines schema problems as you type. For a full check, run lpm config validate <file>, which looks at the project with its layers applied and verifies that:
  • At least one service is defined (duplicates are exempt — they inherit their parent’s)
  • Every cmd is non-empty
  • Ports are whole numbers up to 65535, and no two services share one
  • Every cwd points to an existing folder
  • Profiles and dependsOn only name services that exist, with no dependency cycles
  • There are no unknown fields

When you press Start, the app itself stops on a dependency cycle or on a dependsOn or profile entry that names a missing service, and tells you which.