[PR #1022] [MERGED] feat: add SpacetimeDB template #16330

Closed
opened 2026-07-14 23:19:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Dokploy/templates/pull/1022
Author: @Siumauricio
Created: 7/14/2026
Status: Merged
Merged: 7/14/2026
Merged by: @Siumauricio

Base: canaryHead: feat/spacetimedb


📝 Commits (1)

  • 3ddbdde feat: add SpacetimeDB template

📊 Changes

5 files changed (+83 additions, -0 deletions)

View changed files

blueprints/spacetimedb/docker-compose.yml (+13 -0)
blueprints/spacetimedb/instructions.md (+45 -0)
blueprints/spacetimedb/logo.png (+0 -0)
blueprints/spacetimedb/meta.json (+17 -0)
blueprints/spacetimedb/template.toml (+8 -0)

📄 Description

What

Adds a template for SpacetimeDB — a relational database with a built-in server runtime for real-time multiplayer games, chat, and collaborative apps. Clients connect directly to the database and application logic runs inside it as WebAssembly modules.

  • Image: official clockworklabs/spacetime:v2.6.1 (latest stable release, actively maintained on Docker Hub)
  • Single service running spacetime start (listens on 0.0.0.0:3000)
  • One volume mounted at /home/spacetime, which persists both the server data directory (~/.local/share/spacetime/data) and the CLI config dir (~/.config/spacetime) that holds the JWT signing keys — so identities survive restarts/redeploys
  • instructions.md explains that there is no web UI (/ returns an app-level 404 by design) and how to connect with the spacetime CLI and client SDKs

Test evidence (deployed on demo instance)

  • Deploy: done in 92s, container running
  • Startup log: spacetimedb-standalone version: 2.6.1 / database running in data directory /home/spacetime/.local/share/spacetime/data / Starting SpacetimeDB listening on 0.0.0.0:3000
  • GET /v1/ping through the generated domain → 200 OK
  • POST /v1/identity200 with identity + signed ES256 JWT (proves key generation/persistence works)
  • GET /v1/database/foo → proper API error `foo` not found (API routing through Traefik works)

Closes #749

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Dokploy/templates/pull/1022 **Author:** [@Siumauricio](https://github.com/Siumauricio) **Created:** 7/14/2026 **Status:** ✅ Merged **Merged:** 7/14/2026 **Merged by:** [@Siumauricio](https://github.com/Siumauricio) **Base:** `canary` ← **Head:** `feat/spacetimedb` --- ### 📝 Commits (1) - [`3ddbdde`](https://github.com/Dokploy/templates/commit/3ddbdde0810eeb7c44633443ced43be8d4141933) feat: add SpacetimeDB template ### 📊 Changes **5 files changed** (+83 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `blueprints/spacetimedb/docker-compose.yml` (+13 -0) ➕ `blueprints/spacetimedb/instructions.md` (+45 -0) ➕ `blueprints/spacetimedb/logo.png` (+0 -0) ➕ `blueprints/spacetimedb/meta.json` (+17 -0) ➕ `blueprints/spacetimedb/template.toml` (+8 -0) </details> ### 📄 Description ## What Adds a template for [SpacetimeDB](https://spacetimedb.com) — a relational database with a built-in server runtime for real-time multiplayer games, chat, and collaborative apps. Clients connect directly to the database and application logic runs inside it as WebAssembly modules. - Image: official `clockworklabs/spacetime:v2.6.1` (latest stable release, actively maintained on Docker Hub) - Single service running `spacetime start` (listens on `0.0.0.0:3000`) - One volume mounted at `/home/spacetime`, which persists both the server data directory (`~/.local/share/spacetime/data`) and the CLI config dir (`~/.config/spacetime`) that holds the JWT signing keys — so identities survive restarts/redeploys - `instructions.md` explains that there is no web UI (`/` returns an app-level 404 by design) and how to connect with the `spacetime` CLI and client SDKs ## Test evidence (deployed on demo instance) - Deploy: `done` in 92s, container `running` - Startup log: `spacetimedb-standalone version: 2.6.1` / `database running in data directory /home/spacetime/.local/share/spacetime/data` / `Starting SpacetimeDB listening on 0.0.0.0:3000` - `GET /v1/ping` through the generated domain → `200 OK` - `POST /v1/identity` → `200` with identity + signed ES256 JWT (proves key generation/persistence works) - `GET /v1/database/foo` → proper API error `` `foo` not found `` (API routing through Traefik works) Closes #749 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-14 23:19:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#16330