Self-hosted Docker Compose stack management UI. Browse, edit, start, stop, restart, and redeploy your stacks from a web interface — no big database, no complex config.
- Docker Compose first — stacks are plain directories with a
compose.yaml(and.env), managed on disk - Fast & self-contained — a single Go binary that embeds the SPA frontend and serves the API
- Stateless and local-first — SQLite used only for auth; stack state lives in Docker itself and on your filesystem
- Built-in editor — edit compose files directly in the UI with YAML validation
- Webhook redeploy —
POST /api/stacks/{name}/redeploypulls and recreates one stack's running services;POST /api/stacks/redeployrecreates all running services (via API key) - Image update detection — per-stack badge when a newer image digest is available, with a streamed one-click update (pull + recreate)
- Drift detection — per-stack badge when the Compose file or
.envno longer matches the running containers, with a one-click redeploy - Auth — email/username + password, passkeys (WebAuthn), OIDC / OAuth login, API keys
- Maintenance — expired WebAuthn challenges and password reset tokens are cleaned up weekly (schedule via
AUTH_CLEANUP_CRON); optional automaticdocker system pruneviaDOCKER_SYSTEM_PRUNE_CRON - Terminal & live logs — WebSocket-based container terminal and stack log streaming
- Non-intrusive — talks to the Docker socket via the official Docker SDK, shells out to
docker compose; fully compatible with manual CLI usage, no lock-in
Check out the wiki for setup instructions, environment variables, and more: https://zareix.github.io/dockstack/en
- Backend — Go (using huma) in
cmd/dockstack+internal/. - Frontend —
web/is a TanStack Router + React SPA (Vite build) that talks to the Go API (hooks generated by Orval). Built output (web/dist) is embedded into the Go binary via//go:embed. - Docs —
wiki/is a separate Fumadocs (Next.js) site, published to https://zareix.github.io/dockstack. Itsopenapi.yamlis generated thanks to Huma.
Prerequisites: Go 1.26+, Bun, just, and a Docker daemon (the docker socket path is controlled by DOCKER_HOST, default unix:///var/run/docker.sock).
# Run backend (port 3000) and frontend dev server (port 5173, proxies /api + WS to :3000) together
just devBuild everything (SPA → embed → binary):
just build # produces ./bin/dockstackRun tests:
go test ./...