---
title: "Deploy SurrealDB 2.x"
description: "A scalable, distributed, collaborative, document-graph database"
category: "Other"
url: https://railway.com/deploy/RLin57
---

# Deploy SurrealDB 2.x

A scalable, distributed, collaborative, document-graph database

**[Deploy SurrealDB 2.x on Railway](https://railway.com/template/RLin57)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/RLin57/manifest.json

- **Creator:** nxfi's Projects
- **Category:** Other
- **Total deploys:** 56

## Template content

### SurrealDB 2.x https://surrealdb.com/static/icon/icon.png

- **Image:** surrealdb/surrealdb:v2
- **Start command:** `/surreal start --deny-guests --no-banner`
- **Health check:** /health
- **Public domain:** Yes

## Documentation

<p align="center">
    <a href="https://surrealdb.com#gh-dark-mode-only">
        <img width="300" src="https://raw.githubusercontent.com/surrealdb/surrealdb/main/img/white/logo.svg" alt="SurrealDB Logo">
    </a>
</p>

<h3 align="center">SurrealDB is the ultimate cloud <br> database for tomorrow's applications
</h3>

<h3 align="center">Develop easier. &nbsp; Build faster. &nbsp; Scale quicker.</h3>

### What is SurrealDB?

SurrealDB is an end-to-end cloud-native database designed for modern applications, including web, mobile, serverless, Jamstack, backend, and traditional applications. With SurrealDB, you can simplify your database and API infrastructure, reduce development time, and build secure, performant apps quickly and cost-effectively.

**Key features of SurrealDB include:**

- **Reduces development time**: SurrealDB simplifies your database and API stack by removing the need for most server-side components, allowing you to build secure, performant apps faster and cheaper.
- **Real-time collaborative API backend service:** SurrealDB functions as both a database and an API backend service, enabling real-time collaboration.
- **Support for multiple querying languages:** SurrealDB supports SQL querying from client devices, GraphQL, ACID transactions, WebSocket connections, structured and unstructured data, graph querying, full-text indexing, and geospatial querying.
- **Granular access control**: SurrealDB provides row-level permissions-based access control, giving you the ability to manage data access with precision.

### Features

- [x] Database server, or embedded library
- [x] Multi-row, multi-table ACID transactions
- [x] Single-node, or highly-scalable distributed mode
- [x] Record links and directed typed graph connections
- [x] Store structured and unstructured data
- [x] Incrementally computed views for pre-computed advanced analytics
- [x] Realtime-api layer, and security permissions built in
- [x] Store and model data in any way with tables, documents, and graph
- [x] Simple schema definition for frontend and backend development
- [x] Connect and query directly from web-browsers and client devices
- [x] Use embedded JavaScript functions for custom advanced functionality

### Documentation

For guidance on development, and administration, see Their [documentation](https://surrealdb.com/docs).

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/RLin57
