
SpacetimeDB is a relational database with a built-in server runtime. Clients connect directly to the database and run server-side logic (modules) inside it, making it ideal for real-time multiplayer games, chat and collaborative applications without a separate backend.
Alternatively, create a Compose service, go to Advanced → Import from Base64, and paste this payload:
ewogICJjb21wb3NlIjogInNlcnZpY2VzOlxuICBzcGFjZXRpbWVkYjpcbiAgICBpbWFnZTogY2xvY2t3b3JrbGFicy9zcGFjZXRpbWU6djIuNi4xXG4gICAgcmVzdGFydDogdW5sZXNzLXN0b3BwZWRcbiAgICBjb21tYW5kOiBzdGFydFxuICAgIGV4cG9zZTpcbiAgICAgIC0gMzAwMFxuICAgIHZvbHVtZXM6XG4gICAgICAtIHNwYWNldGltZWRiLWRhdGE6L2hvbWUvc3BhY2V0aW1lXG5cbnZvbHVtZXM6XG4gIHNwYWNldGltZWRiLWRhdGE6IHt9IiwKICAiY29uZmlnIjogIlt2YXJpYWJsZXNdXG5tYWluX2RvbWFpbiA9IFwiJHtkb21haW59XCJcblxuW2NvbmZpZ11cbltbY29uZmlnLmRvbWFpbnNdXVxuc2VydmljZU5hbWUgPSBcInNwYWNldGltZWRiXCJcbnBvcnQgPSAzMDAwXG5ob3N0ID0gXCIke21haW5fZG9tYWlufVwiIgp9
The exact Docker Compose and template configuration this template deploys.
SpacetimeDB is a database and server runtime in one: your clients connect directly to the database and your application logic runs inside it as WebAssembly modules. There is no web UI — the domain assigned to this service exposes the SpacetimeDB HTTP/WebSocket API (so opening / in a browser returns a plain 404; that is expected).
bash
A 200 OK response means the server is up.
Install the CLI on your local machine:
bash
Register your Dokploy instance as a server and make it the default:
bash
Log in (or create an anonymous local identity) and publish a module:
bash
Check connectivity at any time:
bash
From your game or app, connect with any SpacetimeDB client SDK (Rust, C#, TypeScript) using https://your-domain.com as the host URI. See the getting started guide for a full walkthrough.
spacetimedb-data volume, so identities survive restarts and upgrades.v72ce13c
Convex is an open-source reactive database designed to make life easy for web app developers.
latest
Open Source backend in 1 file
v1.8.0
PocketRun is a self-hosted backend for personal projects. One instance gives every project a JSON key-value store with access tokens and roles, HTML micro-pages on short slugs and short links with QR codes and visit analytics, all managed from a web panel.
v1.21.0
PowerSync is a sync engine for local-first apps. Syncs PostgreSQL data to mobile devices and browsers with real-time replication.
latest
TrailBase is a blazingly fast, open-source application server with type-safe APIs, built-in WebAssembly runtime, realtime, auth, and admin UI built on Rust, SQLite & Wasmtime.
v2.7.0
Appwrite is an end-to-end platform for building Web, Mobile, Native, or Backend apps, packaged as a set of Docker microservices. It includes both a backend server and a fully integrated hosting solution for deploying static and server-side rendered frontends. Appwrite abstracts the complexity and repetitiveness required to build modern apps from scratch and allows you to build secure, full-stack applications faster. Using Appwrite, you can easily integrate your app with user authentication and multiple sign-in methods, a database for storing and querying users and team data, storage and file management, image manipulation, Cloud Functions, messaging, and more services.
wtree Cloud is a self-hosted deployment platform. Deploy SpacetimeDB and 697+ other templates on your own infrastructure with a single click.