Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Self-Hosted Tempest Server & Web Mode

Run your own Tempest sync server — keep encrypted vault sync inside your network and access SSH from any browser via Tempest's Web Mode.

Tempest Web Services provides accounts, OAuth and encrypted vault synchronization for your Tempest clients. Tempest Desktop in Web Mode is optional: it provides the same Tempest experience as the desktop app, but runs in your browser without a local installation.

Deploy Web Services with Docker Compose to host your own account and sync service, then connect your existing Tempest desktop or mobile app. If you also want browser access, deploy Tempest Desktop with Docker Compose. Web Mode can connect to either your self-hosted Web Services or Tempest Cloud.

This is the right setup for:

  • Privacy-sensitive teams that want zero data on third-party servers

  • Air-gapped or restricted networks

  • "I want to SSH from my Chromebook / iPad without installing apps"

  • Homelab enthusiasts who already self-host everything

Configure on the welcome screen

When you first launch Tempest desktop or open a fresh browser tab to your server URL:

  1. Welcome screen → Self-hosted server section

  2. Enter your server URL (e.g. https://tempest.example.com)

  3. Sign in with your account credentials

After this, all sync, scheduled runs, and notifications flow through your server.

Web Mode — Tempest in any browser

Self-hosted server + Web Mode is the killer combo: visit your Desktop Web Mode URL in any browser, sign in, and you get the full Tempest UI — host list, terminal tabs, SFTP, AI assistant — running entirely in the browser.

This is great for:

  • SSH from a Chromebook or iPad

  • Quick access from a borrowed machine without installing the desktop client

  • Mobile-friendly access in a pinch

The browser → server channel uses WebSockets; the server holds the SSH connections (per the C/S architecture), and the browser receives pre-rendered terminal frames.

Auto-reconnect

The browser ↔ server WebSocket reconnects automatically if your network blips, with visible "disconnected, reconnecting…" / "reconnected" toasts so you know what's happening.

Privacy & E2E with self-hosting

Even when you self-host:

  • Native Desktop keeps vault encryption keys on your devices. In Web Mode, the Desktop backend hosts the vault on your server, so that host is part of your trust boundary.

  • The Web Services sync server still only sees ciphertext (it's the same E2EE design as the cloud sync — see End-to-End Encryption).

The benefit of self-hosting isn't a different security model — it's that you are the operator of the relay, with full audit log access and no third-party data residency questions.

Backend responsibilities

The two deployments provide:

  • Encrypted vault sync endpoint — receives encrypted vault docs from your devices

  • SSH multiplexing — holds the actual SSH connections so the browser doesn't (browsers can't speak SSH directly)

  • Snippet scheduler — fires scheduled snippet runs even when no client is connected

  • Tempest Push relay — forwards encrypted notification payloads to APNs / FCM

  • Notification module — local channels (webhook, Pushover, SMTP) sent directly from the server

What the server does not hold

  • Your vault encryption keys in Web Services (Web Mode vault access runs in the separate Desktop backend)

  • Client OAuth2 tokens in the Web Services sync store (clients and the Web Mode vault manage their own token lifecycle)

See the Tempest Knowledge Base for what each layer does.

Deployment

The open-source core is published on Docker Hub as tempestterm/tempest-web-services-oss. See Deploy the Tempest Server with Docker Compose for a complete, tested stack — Postgres, Redis, CouchDB, S3 storage, TLS and the client sign-in flow.

OSS vs Enterprise Edition sets out what each build includes. For the Enterprise Edition image, contact support.

See also

Last updated