Skip to content

v0.2.0: self-hosted Docker server

Choose a tag to compare

@digitalchild digitalchild released this 08 Oct 08:35
· 37 commits to main since this release
6e8c0d0

Deckwright can now run as a shared, self-hosted server in Docker. Claude (desktop or claude.ai) connects over the network, people sign in with their Google work account, and nobody needs to install anything.

Highlights

  • Docker image: ghcr.io/digitalchild/deckwright:0.2.0 for linux/amd64 and linux/arm64. It runs as a non-root user with a read-only filesystem and no Linux capabilities. Each image is scanned with Trivy, smoke tested on both platforms, and signed with cosign.
  • deckwright server: one port serves the MCP endpoint (/mcp) and the HTTP API (/v1).
  • Google sign-in with a domain limit: OAuth 2.1 with PKCE and dynamic client registration, so Claude connects as a custom connector. Only accounts from DECKWRIGHT_AUTH_ALLOWED_DOMAINS can sign in. A consent page asks before each new app gets access.
  • Authenticated HTTP API: every /v1 call needs a bearer token with the right scope (decks or templates:read). Admins register API clients with deckwright auth client add.
  • Private decks: each person can see and download only the decks they built.
  • Signed download links: links expire (24 hours by default) and work without sign-in, so they open in a normal browser.
  • Safe defaults: remote mode refuses to start without auth, unless you set DECKWRIGHT_INSECURE_NO_AUTH=1 behind your own SSO proxy. It also has rate limits, request size limits, Host header checks, and security headers. Local image paths and template admin tools are off in remote mode.
  • Cleanup: old decks and expired sign-in records are removed on a schedule (DECKWRIGHT_RETENTION_DAYS, default 7).

Try it on your own machine

docker run --rm -p 127.0.0.1:8765:8765 \
  -e DECKWRIGHT_PUBLIC_URL=http://localhost:8765 \
  -e DECKWRIGHT_SECRET_KEY="$(openssl rand -hex 32)" \
  -e DECKWRIGHT_INSECURE_NO_AUTH=1 \
  ghcr.io/digitalchild/deckwright:0.2.0

This turns sign-in off. Use it on a laptop only.

Docs