Self-Hosting

Run the Solana Developer Platform on your own infrastructure with Docker Compose.

Self-hosting runs the full Solana Developer Platform — API, web dashboard, docs, database, and cache — on infrastructure you control, from prebuilt container images. You bring your own authentication, Solana RPC, and signing provider; SDP stays the same product you'd use as a managed service.

This section covers installing the stack, generating its configuration, and keeping it running.

What you run

infra/self-hosted/compose.yml starts six services:

ServiceImagePurpose
sdp-apisdp-apiThe core API (default port 8787).
sdp-websdp-webThe dashboard web app (default port 3000).
sdp-docssdp-docsThis documentation site (default port 3001).
sdp-migratesdp-apiRuns database migrations once on startup, then exits.
postgrespostgres:16-alpineBundled database (or point at an external one).
redisredis:7-alpineBundled cache (or point at an external one).

Start here

  • Quickstart — install the stack and bring it up for the first time.
  • First devnet deployment — log into the dashboard, initialize a local wallet, and verify a wallet-scoped API key.
  • Configurator — generate a complete .env in your browser or terminal.
  • Environment reference — what every configuration variable does and which ones are required.

Operate

Requirements

  • A 64-bit Linux or macOS host with Docker Engine and Docker Compose v2.
  • Outbound network access to pull images and reach your Solana RPC and authentication providers.
  • A Clerk application for authentication and a Solana RPC endpoint. See the environment reference for the full list.
Is this page helpful?