spacetimedb-deploy
Installation
SKILL.md
Use this skill for deployment, operations, and production diagnostics.
Core deployment patterns
- Maincloud publish:
spacetime publish my-database --server maincloud
- Maincloud clients use
https://maincloud.spacetimedb.comas the URI and the database name or identity aswithDatabaseName/WithDatabaseName. - Updating an existing database hot-swaps the module and runs migration checks; load database migration guidance before schema-changing deploys.
- Self-hosted production should run SpacetimeDB as a dedicated user behind a reverse proxy. Keep publish/admin routes restricted unless the host is intentionally open.
- Standalone mode is suitable for local development; SSL is not supported directly in standalone.
- Logs can be viewed with
spacetime logs <database> --follow --level infoor via the HTTP logs endpoint for owners. - PGWire uses the SpacetimeDB auth token as the PostgreSQL password; treat it as a secret and avoid logging it.