SpacetimeDB

SpacetimeDB

v2.6.1

Category: Databases & BaaS

#databases#self-hosted#docker#spacetimedb

Overview

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.

Primary Use Cases

1

Primary transactional database or backend layer for modern web, mobile, and serverless applications.

2

Replace costly cloud-managed DBaaS platforms with complete infrastructure ownership.

3

High-throughput caching, session management, or analytics data ingestion with persistent volume storage.

Key Features

  • Low-latency data access and optimized I/O performance
  • Automated container health checks and persistent volume mounting
  • Built-in role-based access control and database authentication
  • Straightforward backup and point-in-time recovery workflows with tug.sh

Container Specification

Docker Image

spacetimedb:latest

Default Version

v2.6.1

SSL & Domain Routing

Automated Let's Encrypt (Caddy / Traefik)

Persistent Volumes

Managed host volume mounts

How to Deploy SpacetimeDB with tug.sh

1

Connect your Linux server

Run the 1-line tug.sh agent install command on any Ubuntu, Debian, or Rocky Linux VPS.

2

Select SpacetimeDB from the Marketplace

Pick your domain name, configure custom environment variables if needed, and choose your persistent storage folder.

3

Click Deploy & Go Live

tug.sh pulls the container, sets up HTTPS certificates, configures the reverse proxy, and boots the service in under 60 seconds.