---
title: "Deploy Memos + SQLite"
description: "An open-source, self-hosted note-taking service"
category: "Other"
url: https://railway.com/deploy/memos-sqlite
---

# Deploy Memos + SQLite

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

**[Deploy Memos + SQLite on Railway](https://railway.com/template/memos-sqlite)**

- **Creator:** Techulus
- **Category:** Other
- **Total deploys:** 10

## Template content

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

- **Image:** neosmemo/memos:stable
- **Public domain:** Yes

## Documentation

# 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

- [Memos Docker Image](https://hub.docker.com/r/neosmemo/memos)
- [Memos Documentation](https://usememos.com/docs)
- [Memos GitHub Repository](https://github.com/usememos/memos)
- [Database Configuration Guide](https://usememos.com/docs/advanced-settings/database)

### 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.

## 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/memos-sqlite
