Deploy SilverBullet
Self-hosted programmable Markdown notes and knowledge base, with login
SilverBullet
Just deployed
/data
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
/datafor 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(defaultadmin) andSB_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.
Template Content
SilverBullet
aalfath/silverbullet-railway-template