Roadmap

Where ServerDock stands today and what comes next, milestone by milestone. Nothing is shown as done before its milestone closes.

Project status

Milestone states come from docs/roadmap.md.

Stage
Pre-release
Phase
Phase 1: MVP: Solo on one server
Install script
Not yet. The early usable version arrives with M7a.
As of
  1. Done , 4 milestones

    1. M1 Hardening and core plumbing
    2. M2 Auth, first run, SPA shell
    3. M3a Deploy from image, safely
    4. M3b Service configuration
  2. Next , 2 milestones

    1. M4a Domains and automatic HTTPS
    2. M7a Install, lifecycle, signed releases (the early usable version)
  3. Later , 6 milestones

    1. M7b State backup and self-update
    2. M5 Git builds and push-to-deploy
    3. M6 Compose, databases and backups
    4. M4b Passkeys
    5. M8 Observability and housekeeping
    6. M9 API, MCP, docs and Phase 1 exit

The full roadmap

The phases and checklists behind the status above.

Draft 1, 2026-11-20. AI-written; not yet confirmed by the maintainer. No dates yet — each phase ends with an exit check, not a deadline. Feature details in features.md.

Chart of the ServerDock phases 0 to 5, drawn on 2026-12-01. Phase 0 is done, with one review item moved to Phase 1. Phase 1, the MVP for one server, is in progress: M1, M2 and M3a are done, M3b is in progress (PR 15, not merged), then M4a and M7a, which complete the early usable version (M1 to M7a), then M7b, M5, M6, M4b, M8 and M9. Phases 2 to 5 are planned: multi-server and builds, light built-in AI, teams, company and scale. Details are in the phase checklists below.
The chart was drawn on 2026-12-01 and can lag the checklists below, which are the current record. Open the chart as an image file, or pinch to zoom.

Chart as text: Phase 0 — Foundations, Phase 1 — MVP: "Solo on one server", Phase 2 — Multi-server & builds, Phase 3 — Light built-in AI, Phase 4 — Teams, Phase 5 — Company & scale.

The chart is a plain hand-written SVG (diagrams/roadmap-phases.svg (on GitHub), no scripts or styles, one column so it reads on a phone). Edit it directly and keep it in sync with the phases below, including its "updated" date.

Phase 0 — Foundations

Goal: decisions locked and a skeleton that proves the footprint.

  • Not done yet: Confirm vision, features, architecture (maintainer review of these docs) — carried over to Phase 1: due before M3a (plan 0002 (on GitHub), Part D)
  • Done: Accept ADRs 0001–0006 (AGPL-3.0, Go, outbound agent, embedded Caddy, SvelteKit, MCP-first AI) — accepted by the maintainer 2026-11-20
  • Done: ADR 0007 (no telemetry by default) — accepted by the maintainer 2026-11-20
  • Done: ADR 0008 (footprint gates on deployed shapes; slim agent in Phase 2) — accepted by the maintainer 2026-11-20
  • Done: Research, feature list, wireframes (13 screens), phase chart
  • Done: Repo skeleton (cmd/, internal/, web/), Go module, lint, CI (test, vet, govulncheck, build for amd64/arm64) — ran on GitHub in PR #1 (run 44715013248)
  • Done: Bench harness (bench/run.sh, measure.sh, report) + CI bench job reporting idle RSS/CPU — implemented as scripts rather than a serverdock bench subcommand; CI job ran in PR #1 (run 44715013248)
  • Done: Spike 1: Go binary with embedded Caddy + SQLite + empty SPA → measure idle RSS — implemented and tested; only a local informational measurement so far (05-phase0-measurements.md (on GitHub))
  • Done: Spike 2: agent dials out over WebSocket with yamux, survives reconnects, streams container logs on demand — implemented and tested (plain ws://; TLS/mTLS come in Phase 1/2)
  • Done: docs/security.md threat model reviewed by the security agent — carried over to Phase 1 and done in M1 after step 6 (Draft 2, 2026-11-20); its M1 findings (G1, G3 part, G12, and the review fixes) are built and recorded under "M1 close-out status" in security.md

Exit: both spikes measured under budget (≤ 80 MB single node). If not, revisit ADR 0004 (Caddy container fallback). Result (2026-11-20): met in CI: single node 47.6 MB, remote node 44.1 MB, 0% idle CPU (research/05 (on GitHub)). The real 1 GB VPS run is deferred to the Phase 1 exit.

Phase 1 — MVP: "Solo on one server"

Goal: a solo dev can replace Coolify/Dokploy on one 1 GB VPS.

Milestone order (2026-11-27, maintainer decision; plan 0002 (on GitHub) Revision 1): M1, M2, M3a, M3b, M4a, M7a — the early usable version, for apps whose data is disposable or backed up elsewhere until M6 adds app-data backups (confirmed by the maintainer 2026-11-27) — then M7b, M5, M6, M4b, M8, M9. The reorder brings first real use forward; it does not make the Phase 1 exit earlier. Status (2026-12-02): M1, M2, M3a and M3b are done (M3b merged by PR #15; the maintainer's screen-reader pass for its screens is still open, plan 0005 Revision 11 (on GitHub)). M4a is implemented (plan 0006 steps 1 to 14) and in review on PR #35, merge pending; it is not done: its manual real-domain check is blocked and its release numbers are open (plan 0006 Revision 12 (on GitHub)). The rest have not started. Open items from M3b (details in plan 0005 Revision 11): a pprof-backed S11 leak loop and committed report-only bench scripts for S7 configured, S10 and S11 (a nightly soak is optional); the RC follow-up on TestIntegrationTwentyReloadsUnderLoadCauseNoNon2xx, to be settled before Docker 29.10 reaches stable or before the M3b release tag; and the arm64 bench startup failure (it predates M3b and is on the main nightly too), which must be investigated before any Phase 2 arm64 footprint claim, like the screens-capture failure.

  • Done: Setup token, admin + TOTP with recovery codes, first-run onboarding UI over HTTPS — built in M2 (plan 0003 (on GitHub) steps 5–12; tests: TestFirstRunOverHTTP in internal/api/authflow_test.go, Playwright web/e2e/setup.spec.ts; security.md)
  • Not done yet: Install script with pre-flight checks (M7a)
  • Not done yet: Signed releases (cosign); serverdock bench published with each release
  • Done: Action registry (typed ops, risk tiers, audit log) — the base for everything else — built in M1 (internal/actions, internal/audit, internal/redact; policy-table, tamper-detection and sentinel tests; no HTTP route yet, those arrive in M2)
  • Not done yet: Deploy from image, Dockerfile (git), and Compose (policy-checked) — the image part is built in M3a (plan 0004 (on GitHub); public images, one container per service; tests in security.md); Dockerfile is M5 and Compose is M6, so this stays open
  • Not done yet: GitHub push-to-deploy + generic webhook, commit status
  • Done: Blue-green handover, health gate, automatic rollback, one-click rollback from deploy snapshots; auto-cancel superseded deploys — built in M3a (plan 0004 (on GitHub) steps 4a–10, 13; tests: TestBlueGreenSwitchWithZeroNon2xx, TestUnhealthyCandidateKeepsOldServingWithZeroNon2xx, TestRollbackPinsTheImageIdAndRunsThatSnapshot, TestSupersedeDuringHealthGateIsUnhealthy, the kill -9 suite; security.md). A deploy, rollback or redeploy of one app does not reload the proxy: it drops no request on other apps or on the panel, and none on the deployed app that finishes within drain_s (at least 10 s); longer requests and open streams end when the old version is stopped. A restart is an outage by design, and the stop-first gap answers 503 (maintenance page); adding, changing or clearing a public port reloads the proxy and can close a connection being opened at that moment (expected never to have been processed, so safe to retry; to be confirmed by the measurements). The release measurements are still pending
  • Not done yet: Domains with automatic HTTPS (embedded Caddy) and actionable diagnostics; TLS problems never take a running app down — implemented in M4a (PR #35, merge pending; plan 0006 (on GitHub) steps 1 to 14): explicit names with every on-demand path denied, Let's Encrypt limits kept by a restart budget with pauses, diagnostics on demand, the panel domain (IP redirect, refused IP sign-in, HSTS, re-secure checklist). Not yet verified on a real domain: the manual real-domain check is BLOCKED and required for the exit
  • Not done yet: Bring-your-own certificate per domain (e.g. Cloudflare Origin CA for "Full (strict)"), stored encrypted, with expiry warnings (M4a; pulled forward from Phase 2 by the maintainer 2026-12-01, plan 0006 (on GitHub)) — implemented in M4a (PR #35, merge pending), with the same open real-domain check
  • Not done yet: Passkeys for the panel once it has a domain (WebAuthn), with TOTP and recovery codes as fallback (M4b, after M6)
  • Done: Env vars & secrets (encrypted, audited reveal) — built in M3b (PR #15): versions sealed under the master key, env_reveal with fresh 2FA and an audit row, rollback restores the env version, redaction everywhere, the sentinel suite
  • Not done yet: Postgres / MySQL / Redis one-click + scheduled S3 backups + restore
  • Not done yet: Metrics (cgroup), live logs, log search, basic alerts; email/webhook/Telegram notifications
  • Not done yet: Local builds with cgroup caps
  • Done: Private registry credentials; persistent volumes; per-project network with service DNS — built in M3b (PR #15): registries.* with rule-10 address checks, named volumes and --bind-root binds, one internal network per project with service-name DNS
  • Not done yet: Automatic disk cleanup (old images, build cache) + disk alerts; size-capped BuildKit cache; build concurrency setting
  • Done: Per-app CPU/RAM limits; stop-first strategy for stateful apps; connection draining on blue-green — stop-first (explicit per service) and the blue-green drain are built in M3a (TestStopFirstGapThenCommit, TestIntegrationStopFirstGapUnderLoad); CPU/RAM limits and choosing stop-first automatically for a writable volume are built in M3b (PR #15)
  • Not done yet: Keep logs of the last N deploys; live build/pull progress; restart and redeploy-without-rebuild; deploy context variables — built in M3a: the last 10 deploy logs, live pull progress, restart and redeploy (TestDeployLogRetentionKeepsTheLastTenPerService, TestRestartKeepsTheAddress, TestRedeployRecreatesAMissingContainer); the four deploy context variables are built in M3b (PR #15), with SD_FQDN empty until M4a sets it (implemented in M4a, PR #35, merge pending) and SD_COMMIT empty until M5; build progress is M5, so this stays open
  • Not done yet: "Update available" notice for app images
  • Not done yet: IPv6 support; Docker API version negotiation + supported Docker range + Docker RC in CI (negotiation and the Engine 25+ range are built (M1 step 4); IPv6 ingress and diagnostics are implemented in M4a (PR #35, merge pending); the integration-rc job and the Docker version-change warning are built in M3b (PR #15): first RC runs on Docker 29.10.1, plan 0005 Revision 11), so this stays open until M4a merges
  • Done: Token expiry — API tokens require an expiry (default 90 days, at most 365), built in M2 (TestTokenExpiryDefaultMaximumAndRequired in internal/auth/authactions_test.go; Playwright web/e2e/security.spec.ts)
  • Not done yet: serverdock uninstall, start/stop/status, doctor --bundle
  • Not done yet: Docs site with first-deploy guide; in-UI docs links and empty-state hints
  • Not done yet: Self-update with candidate + rollback; ServerDock state backup + rehearse restore
  • Done: REST API (OpenAPI) — built in M2: POST /api/v1/actions/{name} over the action registry, with a generated OpenAPI 3.1 document (docs/api/openapi.json (on GitHub), make openapi; TestOpenAPIGolden, TestRESTActionPolicyMatrix in internal/api/rest_test.go)
  • Not done yet: Read-only MCP endpoint with scoped read tokens and secret redaction (ADR 0006)
  • Done: Accessible, phone-usable UI baseline — built in M2 and checked by axe (zero violations in eight Playwright projects: desktop, 390 px, 320 px, 200% zoom, dark, reduced motion, forced colours, WebKit; web/e2e/), covering the shell, setup, sign-in, Overview and Settings › Security. Ticked 2026-11-22: the maintainer approved the manual screen-reader item for steps 12 and 13 (recorded in plan 0003) (checklists in plan 0003 (on GitHub))
  • Not done yet: Accessible, phone-usable UI for all of the above (each later screen repeats the same bar) — M3a screens: axe green in eight projects, manual screen-reader pass approved by the maintainer 2026-11-28 (checklist (on GitHub)); M3b screens: axe green in eight projects, manual pass pending (plan 0005); M4a screens (plan 0006 steps 12 and 13, PR #35, merge pending): axe and Playwright specs written, manual pass pending (checklist (on GitHub))
  • Done: Panel tables overflowed the page between 768 and about 860 px wide (up to 98 px on CI at 768) — fixed 2026-12-01 (leftovers-1, PR #30). Cause: the table's minimum content width, which depends on the system font, is wider than the content area just after the 768 px switch from cards to table. Decision: the table scrolls inside its own box (.table-wrap in ResponsiveTable.svelte) instead of moving the switch point, because a breakpoint would only be a margin that some font or long value breaks. The box is a focusable, named group (arrow keys scroll it; focusing a row link alone does not, and the Settings tables have no link in column 1), with a "Scroll sideways for more columns" cue shown only while it overflows. Evidence: web/e2e/services.spec.ts asserts 0 page overflow at 768, 800, 820, 834, 860 and 900 px and, at 768 and 800 px, Tab then ArrowRight scrolls the box and the cue shows; web/e2e/security.spec.ts does the same for the Sessions table; desktop and WebKit (plan 0014 (on GitHub))
  • Not done yet: Split the public /docs/security/ page (the threat model) before any further text is added to it: it has an 85 KB named exception in site/budgets.json (footprint sign-off 2026-12-02, the last raise: M4a took it from 79 KB; measured 78,939 B gzip). The split is the first step of whichever plan next grows docs/security.md (M4b or M5). Shape: a model page plus an as-built evidence page, the old anchors kept as stubs, and a test that the old anchors resolve.

Exit: full bench/run.sh on a fresh 1 GB VPS (deferred from Phase 0); fresh 1 GB VPS → first git app live on HTTPS in < 5 min; idle under the ADR 0011 ceiling (≤ 200 MB; tripwire 80 MB) / < 1% CPU published; security + accessibility reviews passed; dogfooded on our own apps for 2 weeks — the counted window is the last 14 consecutive days before the exit, on builds that include M5, M6 and M8, updated only through self-update (earlier use is a logged pre-dogfood run and doesn't count).

Phase 2 — Multi-server & builds

  • Not done yet: Remote agent (outbound, enrollment token, mTLS), SSH-assisted one-time install
  • Not done yet: Slim agent build (no SQLite/SPA/control plane); scenario 3 gate ≤ 20 MB, hard fail 25 (ADR 0008)
  • Not done yet: Builder servers; CI build mode (generated GitHub Actions)
  • Not done yet: Railpack zero-config builds
  • Not done yet: GitLab, Gitea, Bitbucket; PR previews incl. Compose; Compose diff review
  • Not done yet: Environments, cron jobs, pre/post-deploy commands
  • Not done yet: Move/copy app between servers
  • Not done yet: Web terminal (container; host shell behind 2FA + hostname confirmation)
  • Not done yet: Template catalog with CI-tested templates
  • Not done yet: Volume backups + automated restore tests
  • Not done yet: Wildcard domains (DNS-01), redirects, basic auth, maintenance mode, Cloudflare awareness
  • Not done yet: CLI; request-ID tracing
  • Not done yet: MCP write actions: dry-run → pending_approval → approve in the panel → execute; destructive actions need typed confirmation (ADR 0006)
  • Not done yet: MCP investigation tools (failing services, explain deploy failure, logs around, what changed, trace request); Claude Code skills
  • Not done yet: More notification channels (passkeys moved to Phase 1, M4b)
  • Not done yet: Docker resources view per server: containers, images, volumes, networks (incl. unmanaged), prune with preview
  • Not done yet: Web + worker processes from one repo; replicas on one server
  • Not done yet: Deploy from a local folder (serverdock up)
  • Not done yet: Cloudflare Tunnel for servers with no public IP
  • Not done yet: MongoDB and ClickHouse
  • Not done yet: App/template auto-update policies (through health gate + rollback, backup first)
  • Not done yet: Minimal multi-user (admin + member)
  • Not done yet: Per-repo serverdock.toml; adopt existing Compose stacks/containers; import .env; mounted config files
  • Not done yet: One-off run commands; release phase semantics for migrations
  • Not done yet: Static sites served by Caddy; TCP/UDP exposure; external DB access with TLS + IP allowlist
  • Not done yet: Promote staging → prod; clone environment; preview lifecycle (auto-delete, cap, DB seed, fork approval)
  • Not done yet: DB major-version upgrade; optional PgBouncer; backups to local disk / SFTP
  • Not done yet: Build for target architecture (arm64); templates tested on arm64
  • Not done yet: Master key re-key; agent cert renewal/revocation; internal CA for private names; per-project alert routing (BYO TLS certificates per domain moved to Phase 1 M4a, 2026-12-01)
  • Not done yet: Compose conformance test suite

Exit: 3 servers (one behind NAT) managed from one panel; remote node ≤ 100 MB with proxy (tripwire 50 MB, ADR 0011); template CI green.

Phase 3 — Light built-in AI

Only what MCP can't do (ADR 0006); a small loop over the same action registry.

  • Not done yet: BYO Claude API key (encrypted), per-feature model choice (Haiku/Sonnet/Opus/Fable 5.x), usage/cost display
  • Not done yet: Automatic explanations of alerts and failed deploys
  • Not done yet: "Explain this" button on logs, deploys and alerts
  • Not done yet: In-panel chat for users without an AI client (same approval flow as MCP)
  • Not done yet: Prompt-injection hardening review

Also in Phase 3 (non-AI):

  • Not done yet: Image vulnerability scanning (opt-in, on the builder)
  • Not done yet: Project export/import between ServerDock installs
  • Not done yet: Server security checks: pending updates, SSH password login, open ports, firewall
  • Not done yet: Scale-to-zero for idle apps and previews; usage & cost view
  • Not done yet: Postgres point-in-time recovery; one-click DB password rotation
  • Not done yet: Azure DevOps, Codeberg sources
  • Not done yet: Import Coolify/Dokploy templates; Prometheus/OTLP export; request analytics
  • Not done yet: Volume file browser; registry cache; optional built-in registry (Zot)

Exit: red-team review of AI tools by security agent; assistant resolves a set of scripted incident scenarios correctly.

Phase 4 — Teams

  • Not done yet: Organizations, projects, roles, per-project access (free)
  • Not done yet: OIDC/SAML SSO; audit export
  • Not done yet: GitOps platform state file with drift detection
  • Not done yet: External secret managers
  • Not done yet: Required second-person approval for prod deploys; Terraform/Pulumi provider

Exit: RBAC route-matrix test covers 100% of routes incl. WebSocket/MCP.

Phase 5 — Company & scale

  • Not done yet: Optional Postgres backend / HA control plane
  • Not done yet: WireGuard private mesh between servers; registry-less layer push
  • Not done yet: Proxy security (rate limits, geo/IP rules, SSO forward-auth)
  • Not done yet: Importers (Coolify, Dokploy, CapRover); cloud provisioning (Hetzner)
  • Not done yet: Uptime checks & status pages; plugins; desktop/laptop control-plane mode
  • Not done yet: Scripted multi-step actions (procedures) on the action registry
  • Not done yet: One app across several servers with load balancing
  • Not done yet: "Deploy to ServerDock" shareable links
  • Not done yet: Rootless Docker / Podman; GPU containers; air-gapped install bundle

Release & quality gates (every phase)

  • Plans in docs/plans/ approved by reviewer before implementation.
  • footprint check on every release; budget regressions block release.
  • security review on auth, secrets, agent channel, terminal, AI tools, input handling.
  • accessibility review on every UI change.
  • Changelog with honest "breaking changes" section; upgrades tested N-1 → N and N-5 → N in CI; Docker release candidates in the CI matrix.
  • Updates never overwrite user config, never report success on failure, and show release notes first. No upsell banners.