Deploy SurrealDB
Multi-model database with an HTTP and WebSocket API
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
SurrealDB
surrealdb/surrealdb:latest-dev