Concepts
High-level prose that frames what DWE is and how its pieces fit together. Read these before diving into the field-level config reference.
The pages are ordered for first-time reading: start at “Getting started”, then walk the architecture and project layout, then the interaction layers (Docker, Git, pipelines), and finish with state and locks.
- Getting started — install the binary, enter a project, run your first
dwe deployanddwe run, see the info dashboard, and find the next thing to read. - Architecture — the boundary view: what DWE owns vs what Docker owns, how a
dwecommand turns into adocker composeinvocation, and what state lives on disk vs in the Docker engine. - Project layout — what a real DWE project looks like on disk:
workspace.ymlat the root, theworkspace/config tree withservices/,commands/,templates/,i18n/, andscripts/; the parallelcompose/overlays; and the runtime-managed.dwe/artifacts. - Docker integration — how DWE drives Docker Compose: project-name derivation, the compose file list assembled from base + service overlays + tools + local, environment propagation, volume conventions, and why some lifecycle commands bypass compose and call
docker stop/docker rmdirectly. - Git integration — what DWE renders into Git: shell hook templates copied into
<svc.Dir>/src/.git/hooks/, hook inheritance through the pack root, thedwe status gitview, and the.gitignoreconventions that keep.dwe/out of version control. - Pipelines — the phase → step → condition execution model shared by deploy, reset, and lifecycle: how parallel groups work, how sub-step overrides flow, the available step types, and the three condition kinds (
when:,check:,files_gate:). - State and locks — how
.dwe/deploy/state.ymlrecords hashes and decides what to skip; howdeploy.lockandsnapshot.lockare acquired alphabetically and released in reverse; how DWE recovers from a crash mid-pipeline; and how pending state defers work betweenservices enableand the nextdeploy run. - Host bridge — run
dwefrom inside dev containers: the static shim binary that stands in fordwe, the stateless host daemon it forwards to, the unix-socket / TCP transports, the allowlist command policy, the generated compose overlay, and thedwe bridgesubcommands.
Related
Section titled “Related”- Configuration reference — field-level reference for every config file.
- Render packs —
dwe render env,render ide,render ai,render git. - Run
dwe --help(or any subcommand with--help) for the live command tree.