Dockflow 1.0.0-alpha.6
QuickstartDockflow deploys a Docker Compose app to your own server over SSH. You keep your compose.yml, add a small dockflow.yml, and run dockflow deploy from your laptop or from CI.
Two files.
compose.yml is a standard Compose file; dockflow.yml adds what a deploy needs. Choose a line to see how they work together. dockflow init writes both.
version: 1app: helloenvironments: production: vars: DOMAIN: hello.example.comservices: web: image: nginx:1.27-alpine healthcheck: test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1/"] interval: 5s timeout: 3s retries: 3 x-dockflow: routes: - domains: ["${DOMAIN}"] port: 80${DOMAIN} takes its value from the environment's vars. The route sends https://hello.example.com to port 80 of the container. The x-dockflow key adds it, and Compose ignores it.
The new container starts next to the old one.
Once it is healthy, traffic moves to it, the old container gets 30 seconds to finish the requests in flight, and then it stops.
If a deploy fails, for example because the new container never becomes healthy, Dockflow switches back to the previous containers on its own and exits with code 8.
RolloutsA rollback is a release too.
dockflow rollback restores the previous release, with the same zero-downtime switch, from the image that is still on the server: nothing is rebuilt or downloaded.
- 1
a1b2c3d
superseded
2026-10-26 14:03:11
- 2
e4f5a6b
superseded
2026-10-26 14:08:02
- 3
a1b2c3d
active (rollback to 1)
2026-10-26 14:12:40
Documentation
- QuickstartFrom a Linux server to a first deploy, a second deploy and a rollback.
- How it worksThe CLI, the agent, the switch, the registry and the state on the server.
- Deploying from CIGitHub Actions, GitLab CI, Jenkins, Buildkite, Bitbucket.
- dockflow.ymlEvery key, with its default.
- CLIEvery command and its options.
- RoadmapWhat works today, and what comes before 1.0.0.