Skip to content

moira

Start, watch, update and stop the Compose services in your deploy folders, on every host, from one CLI and a local web UI. No database, no central hub, no Portainer.

The deploy folder is the truth

Each host keeps its stacks as <deploy>/<stack>/compose.yml plus env files. moira reads that folder and runs docker compose in it. It never edits compose files and never creates or deletes stacks.

Any service, any host

moira update shop-prod finds the host that runs shop-prod. Duplicates are resolved by state and pins, and moira never picks between two running copies.

Jobs that survive your laptop

Actions run as jobs on the host. Close the lid mid-deploy and the job keeps going; reattach later with moira jobs attach.

Env files with history

Edit *.env files in $EDITOR or the web UI. Saves are conditional (ETags), masked in every diff, and backed up to .history/.

Drift at a glance

moira ls --drift shows services whose compose or env changed (cfg) or whose image was pulled but not applied (img).

Small and pinned

moirad idles at 10–20 MB RSS. Clients enroll with one-time invites that carry the server’s certificate fingerprint, so there is no CA and no trust-on-first-use.