Railway

Deploy Memos + SQLite

An open-source, self-hosted note-taking service

Deploy Memos + SQLite

Just deployed

/var/opt/memos

Deploy and Host Memos on Railway

Memos is an open-source, self-hosted note-taking and knowledge management service built with Go and React. It offers full Markdown support, tagging, media attachments, and REST/gRPC APIs—all with zero telemetry, no ads, and no subscription fees. Your thoughts, your data, your control.

About Hosting Memos

Memos is designed for effortless self-hosting. The entire application is a single Go binary that serves both the API backend and the React frontend, with SQLite as the default database. This means there are no external dependencies to configure—just run the container and start writing. Data is persisted to a single directory at /var/opt/memos which contains the SQLite database file and any uploaded assets. The first user to sign up becomes the administrator. Memos requires minimal resources (512 MB RAM, 1 GB storage) and runs on any x86_64 or ARM64 platform.

Note: This template uses SQLite, which is perfect for personal use and small teams. For larger multi-user deployments, Memos also supports PostgreSQL and MySQL by setting the MEMOS_DRIVER and MEMOS_DSN environment variables.

Common Use Cases

  • Capture quick notes, ideas, and to-dos in a privacy-first, self-hosted alternative to cloud note-taking apps like Notion or Google Keep
  • Build a personal or team knowledge base with Markdown, tags, and filtering—accessible from any device via the web interface
  • Integrate with existing workflows using the full REST and gRPC APIs for automation, backups, or custom frontends

Dependencies for Memos Hosting

  • None — Memos uses the built-in SQLite database and requires no external services

Deployment Dependencies

Implementation Details

Persistent storage should be mounted at /var/opt/memos to retain the SQLite database, uploaded media, and configuration across deployments. Memos exposes port 5230 for the web UI and API.

Why Deploy Memos 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 Memos 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

More templates in this category

View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
View Template
(v1) Simple Medusa Backend
Deploy an ecommerce backend and admin using Medusa

Shahed Nasser
View Template
peppermint
Docker-compose port for peppermint.sh

HamiltonAI