---
title: "Deploy SilverBullet"
description: "Self-hosted programmable Markdown notes and knowledge base, with login"
category: "Other"
url: https://railway.com/deploy/silverbullet-1
---

# Deploy SilverBullet

Self-hosted programmable Markdown notes and knowledge base, with login

**[Deploy SilverBullet on Railway](https://railway.com/template/silverbullet-1)**

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

- **Creator:** Agaz Self-Host
- **Category:** Other

## Template content

### SilverBullet https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/silverbullet.png

- **Source:** https://github.com/aalfath/silverbullet-railway-template
- **Health check:** /
- **Public domain:** Yes

## Documentation

# Deploy and Host SilverBullet on Railway

SilverBullet is an open-source (MIT), self-hosted notes app and personal knowledge base built on Markdown. Pages link to each other wiki-style, and Lua scripts, queries and templates turn notes into task lists, dashboards and custom views. It runs in the browser, syncs for offline use and keeps every page as a plain Markdown file.

## About Hosting SilverBullet

SilverBullet is a single server with no database: pages, accounts and space settings are plain files in one data folder, so that folder must survive restarts and updates. This template builds the official `ghcr.io/silverbulletmd/silverbullet:2.12.1-slim` image (pinned by digest) from a public GitHub repo, mounts a Railway volume at `/data` and serves it on a public HTTPS domain. A fresh SilverBullet install opens a setup wizard that anyone could complete, so on the first boot the template creates the admin account and a first space itself, with a generated password. After deploy, open the URL, log in as `admin` with the `SB_ADMIN_PASSWORD` value from the service's Variables tab, and start writing.

## Common Use Cases

* A private, browser-based Markdown wiki or second brain you can reach from any device
* Task lists, journals and project notes with live queries across all pages
* A small shared knowledge base, with extra accounts and spaces managed in the dashboard

## Dependencies for SilverBullet Hosting

* SilverBullet server 2.12.1 (official slim image, built from `aalfath/silverbullet-railway-template`)
* One Railway volume at `/data` for pages, accounts and settings

### Deployment Dependencies

* SilverBullet docs: https://silverbullet.md
* Docker install guide: https://silverbullet.md/Install/Docker
* Configuration options: https://silverbullet.md/Install/Configuration
* Release 2.12.1: https://github.com/silverbulletmd/silverbullet/releases/tag/2.12.1
* Template repo: https://github.com/aalfath/silverbullet-railway-template

### Implementation Details

The template deploys one service, `SilverBullet`, which listens on `PORT` 3000 and uses `/` as its health check. Variables:

* `SB_ADMIN_USER` (default `admin`) and `SB_ADMIN_PASSWORD` (generated): the first admin account, used only on the first boot while the volume is empty. Change the password later in the SilverBullet dashboard (`/.dashboard`), not in the variable.
* `PORT` (3000): the port the public domain points at.

Your first space is served at `/`. Add accounts, more spaces or single sign-on in the dashboard. The service runs in well under 0.5 GB RAM. The slim image has no Chromium, so the experimental Runtime API (`/.runtime/*`) is off.

Updates: the service builds from the template's GitHub repo. When a new SilverBullet version is pinned there, Railway shows an update notice on your project and you choose when to apply it; read the repo's `CHANGELOG.md` first. Your `/data` volume is kept. Back up your notes by copying the volume, or by syncing revisions to a git remote from the dashboard.

## Why Deploy SilverBullet on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying SilverBullet on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.



## 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) — Self-hosted virtual tabletop for role-playing games (license required)
- [Double Commander in your browser](https://railway.com/deploy/double-commander-in-your-browser) — The Double Commander file manager in the cloud, from any device

Open this page in a browser: https://railway.com/deploy/silverbullet-1
