Skip to content

v0.1.0

Choose a tag to compare

@meloncafe meloncafe released this 13 Jun 12:06
· 23 commits to main since this release

First public release of dctl, a unified docker compose controller.

Resolve services by name from a central registry, drive them from the current directory or by name, and reach remote nodes over ssh — with per-service hooks and multi compose-file support. Replaces the per-directory logs.sh / restart.sh sprawl with one command.

Highlights

  • Name-based control — dctl restart web from anywhere, no cd needed
  • Remote over ssh — node = <ssh-host> runs compose on another machine via your ~/.ssh/config
  • Per-service hooks — pre_up/post_up/pre_down/post_down
  • Multiple compose files — files = a.yml b.yml
  • self-update — updates the scripts only; your registry is never touched
  • Failed up rolls back — no silently half-started stacks
  • gh-free public install — curl -fsSL .../install-public.sh | bash

Security

Hook values are executed verbatim (locally and over ssh). Treat the registry like a script you run as yourself — see the README Security section.

Full changelog: https://github.com/meloncafe/dctl/blob/main/CHANGELOG.md