Deploy NoteDiscovery
Self-hosted Markdown notes with login, search, sharing and a volume
NoteDiscovery
Just deployed
/app/data
Deploy and Host NoteDiscovery on Railway
NoteDiscovery is an open-source (MIT), self-hosted Markdown notes app, a lightweight alternative to Notion or Evernote. It stores every note as a plain .md file and gives you a web editor with live preview, full-text search, tags, backlinks, a graph view, drawings, Mermaid and LaTeX, public share links, a REST API and an optional MCP server for AI assistants.
About Hosting NoteDiscovery
This template runs NoteDiscovery 0.35.0 from the official image, pinned by version and digest, as one web service built from a public GitHub repo. Your notes, share links and plugin settings live on a Railway volume at /app/data, so they survive redeploys and restarts. Login is always on: the template generates a password and a session key for you, so no one can open your notes without it. After deploy, open the service's Variables tab, copy AUTHENTICATION_PASSWORD, and sign in at your Railway URL. NoteDiscovery is single-user (one shared password, no accounts). It runs in about 60 MB of RAM, so Railway's smallest plan is enough.
Common Use Cases
- A private Markdown knowledge base or "second brain" you can reach from any browser
- A searchable personal wiki with tags, backlinks and a graph view, kept as plain files you can export at any time
- Publishing single notes through read-only share links, or reading and writing notes from scripts and AI assistants through the API or MCP
Dependencies for NoteDiscovery Hosting
- One NoteDiscovery web service (Python/FastAPI) built from aalfath/notediscovery-railway-template
- One Railway volume mounted at
/app/datafor your notes; no database is needed
Deployment Dependencies
- NoteDiscovery on GitHub and its 0.35.0 release
- Official image
ghcr.io/gamosoft/notediscovery - Authentication guide and environment variables
Implementation Details
The template sets two generated variables and nothing else for you to fill in:
AUTHENTICATION_PASSWORD: your login password (24 random characters). Change it in the Variables tab at any time; a redeploy applies it.AUTHENTICATION_SECRET_KEY: signs session cookies (64 random characters). Changing it signs everyone out.
The start script refuses to start if either one is missing or too short, so the app is never public without a login. Optional settings you can add as variables: AUTHENTICATION_API_KEY (for scripts and the REST API), MCP_ENABLED=true (MCP at /mcp, needs the API key), APP_NAME, DEFAULT_THEME and SHARE_PUBLIC_ORIGIN (when you add a custom domain). The health check is /health.
Updates: the service builds from the template's GitHub repo. When a new NoteDiscovery version is tested and merged there, Railway shows you an "update available" notice; read the repo's CHANGELOG.md and apply it when you're ready. Your notes on the volume are kept.
Why Deploy NoteDiscovery 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 NoteDiscovery 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
NoteDiscovery
aalfath/notediscovery-railway-template