Deploy SurrealDB

Multi-model database with an HTTP and WebSocket API

Deploy SurrealDB

Just deployed

/data

Deploy and Host SurrealDB on Railway

SurrealDB is a multi-model database for documents, graphs and relational data, queried with SurrealQL over HTTP or WebSocket.

About Hosting SurrealDB

This template runs the official surrealdb/surrealdb:latest-dev image (the variant with a shell) on RocksDB storage in a persistent volume at /data. The root user is root; the password is the generated SURREAL_PASS variable on the service.

Common Use Cases

  • Backend database for web and mobile apps
  • Graph, document and time-series data in one engine
  • Real-time live queries over WebSocket

Dependencies for SurrealDB Hosting

  • One service with a volume; nothing else

Deployment Dependencies

Why Deploy SurrealDB on Railway?

Railway gives you a public HTTPS URL, a persistent volume and automatic restarts with no server to maintain. Connect with wss:///rpc or https:// as user root and the password from the service variables.


Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
50
View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
51