One binary, Docker Swarm
and Traefik
Echowa is a Go binary under systemd that sets labels on Docker Swarm services. Docker runs the containers, Traefik routes the traffic and SQLite keeps the records, so there's no control plane, no Kubernetes and no agent.
curl -fsSL https://get.echowa.dev/install.sh | sudo bashThe pieces
Three parts, each doing one job
Traefik and your apps are Swarm services. Echowa sits beside them on the host and drives them through the Docker API.
Traefik v3
A Swarm service on ports 80 and 443. It reads each app's labels from the Docker API and gets Let's Encrypt certificates for their domains.
Your apps
One Swarm service each, named echowa-<app>, on the echowa-public overlay network, pinned to an image digest.
Echowa
One Go binary under systemd, with the UI, deploy queue, metrics reader and scheduler inside it, and its records in two SQLite files.
A deploy, step by step
A deploy starts from the UI, or from an earlier deployment's Redeploy button, with a tag or a sha256: digest. Echowa queues it and works through it in the background:
- Pulling. Echowa pulls the image with the app's registry credentials and records the digest the tag pointed to. From here on, the deployment means that exact image.
- Deploying. It builds the Swarm service spec: the digest, env vars, replicas, healthcheck, resource limits, the overlay network and Traefik's labels for the domain. Then it creates or updates the service.
- Waiting. Swarm starts the new task beside the old one, waits for its healthcheck, then watches it for 30 seconds before calling the update complete.
- Recording. The deployment ends as succeeded, rolled back if Swarm put the old version back, or failed with the reason.
Each step streams to the browser as it happens. One app deploys one version at a time, and different apps deploy in parallel.
Why Swarm services, not plain containers
A Swarm service brings rolling updates, healthcheck-gated rollouts and automatic rollback, all built into Docker Engine. Echowa sets order: start-first and failure_action: rollback and lets Swarm do the rest. A single-node Swarm is one command, docker swarm init, with nothing extra to install.
Why Traefik reads labels
Traefik watches the Docker API and routes by the labels on each service, so Echowa never writes a proxy config file or reloads a proxy. Each app's service also carries traefik.swarm.lbswarm=true, which sends traffic to Swarm's virtual IP. Swarm drops a stopping task from it at once, so a rollout never routes a request to a container that's shutting down. The zero-downtime guide explains why that matters.
Why a binary, not a container
An Echowa running as a Swarm service could redeploy or kill itself mid-deploy, and would need the Docker socket mounted into a container anyway. As a systemd service it can restart, update and roll itself back without touching your apps.
Why SQLite
Echowa has to keep working while it restarts the containers it manages, so its database can't be one of them. SQLite in WAL mode is one file with no daemon and no credentials, which is plenty for one writer and a few megabytes of records.
Where things live
/usr/local/bin/echowa: the binary, with the one before the last update beside it./etc/echowa/env: settings, includingAPP_KEY./var/lib/echowa:echowa.sqlite,metrics.sqlite, sessions and logs./var/backups/echowa: a backup of Echowa's database before every update.journalctl -u echowa: Echowa's own log.
On the Docker side, every service Echowa manages is labelled echowa.managed=true and echowa.app=<app>, and Echowa never changes anything without those labels.
Questions
The design choices, and what they rule out.
What happens to my apps if Echowa stops?
They keep running. They're Swarm services, and Traefik keeps routing to them. Deploys, metrics, scheduled tasks, backups and alerts pause until Echowa is back.
Why Docker Swarm and not Kubernetes?
On one server, Swarm gives the parts that matter for deploys, rolling updates, healthchecks and rollback, with nothing to install beyond Docker Engine. Kubernetes would add a control plane to run and upgrade on the same machine.
Can Echowa manage more than one server?
No. It runs a single-node Swarm. If you need several servers, Coolify, Dokploy and Kamal all support them.
Does Echowa build images?
No. Your CI builds and pushes to a registry, and Echowa pulls by digest. That keeps compilers, build caches and Git credentials off the server.
Can I run Docker Compose files?
No. One app is one image and one Swarm service. Databases come from templates, and a worker beside an app is a service: another app, from any image, linked to it.
Can I keep running other containers on the same server?
Yes, as long as they don't need ports 80 and 443, which Traefik takes. Echowa only touches services it labelled, and shows other containers' latest figures on the Server page.
Deploy it.
Then see everything.
One server, every deploy, every number.
curl -fsSL https://get.echowa.dev/install.sh | sudo bash