Back to feed
Dev.to
Dev.to
5/8/2026
I Built a CLI That Writes Its Own Docker Config — Then Taught It to Say No

I Built a CLI That Writes Its Own Docker Config — Then Taught It to Say No

Short summary

A developer built swiftdeploy, a manifest-driven CLI that generates Docker and nginx configs from a single YAML file, preventing configuration drift and synchronization errors. The tool implements safe atomic writes, end-to-end health checks, canary deployments with policy-based safety validation via OPA, and Prometheus metrics for observability. Chaos injection capabilities enable failure testing, creating a complete deployment safety system with both observability and policy enforcement.

  • Single manifest.yaml file drives all deployment configuration, eliminating multi-file drift
  • Safety features: atomic writes, health checks, canary deployment validation, and OPA policy enforcement
  • Full observability stack with Prometheus metrics and chaos injection for reliable failure testing

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more