Skip to main content

Deployments

DaoFlow supports three deployment sources: Docker Compose, Dockerfile, and pre-built images. All deployments create immutable records with full context for auditability and rollback.

Deployment Sources

SourceBest ForInput
ComposeMulti-service appscompose.yaml file
DockerfileBuild from sourceGit repo + Dockerfile
ImagePre-built containersDocker image reference

Deployment Lifecycle

Every deployment follows the same lifecycle regardless of source:

queued → prepare → deploy → finalize → completed/failed

See Core Concepts: Deployments for the full lifecycle model.

Key Features

  • Immutable records — every deployment preserves input, config, actor, and outcome
  • Structured steps — each phase has its own status and timing
  • Rollback support — target any previous successful deployment
  • Dry-run preview — see what would happen without executing
  • Idempotency keys — prevent duplicate deployments
  • Raw + structured logs — both stdout/stderr and parsed event timeline
  • Rollback — rolling back deployments
  • Logs — viewing deployment and container logs