Skip to main content
An app is one service declared under .towbar/apps/*.app.yml. Its file defines common settings and an environments map; towbar.yml declares which environment names exist. Towbar reads the committed file at the mapped branch and validates the effective configuration before deploying.
.towbar/apps/web.app.yml
Register the example IP under Servers and map production to a branch before syncing.

Field map

context and dockerfile can also appear as compatibility fields on older app files; put new build settings under deployment. The exact accepted shapes and constraints are in the app JSON Schema. Repository sync also checks cross-workload conditions such as server registration and conflicting network aliases.

Common and environment values

Put shared settings at the top level and override allowed fields under an environment. Objects merge recursively, while an environment array replaces the common array. Identity, secret declarations, and preview configuration stay at entity level. A failed sync does not partially replace the last valid app configuration or its stored secret values.
Last modified on September 26, 2026