---
title: "Deploy OpenTodo"
description: "Self-hosted to-do app: tasks, projects, reminders, sync, closed sign-up"
category: "Other"
url: https://railway.com/deploy/opentodo-1
---

# Deploy OpenTodo

Self-hosted to-do app: tasks, projects, reminders, sync, closed sign-up

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

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

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

## Template content

### OpenTodo https://raw.githubusercontent.com/OpenTodoApp/OpenTodo/v1.7.0/brand/png/icon-512.png

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

## Documentation

# Deploy and Host OpenTodo on Railway

OpenTodo is an open-source, local-first task manager you host yourself. It has an inbox, projects and boards, quick add in plain language, Today and Upcoming views, reminders, time blocking and focus timers, and it syncs across browsers, phones and the iPhone and Android apps, even offline. It is licensed under AGPL-3.0.

## About Hosting OpenTodo

OpenTodo is a single Go server with the web app built in and an embedded SQLite database, so it needs no separate database. This template runs the official OpenTodo 1.7.0 release image, pinned by digest, in one service with a Railway volume on `/data` for the database, attachments and backups. The service gets an HTTPS domain and a `/healthz` health check. Sign-up is closed from the first minute: creating the owner account needs a generated setup token, and later users join by the owner's invitation. The server uses about 35 MB of RAM, so it fits Railway's Free plan (0.5 GB).

## Common Use Cases

* A private to-do list and day planner you own, synced across your computer and phone
* Shared lists and projects for a family or a small team, with invitations from the owner
* Replacing a paid task app (Todoist, TickTick) and importing your tasks into your own server

## Dependencies for OpenTodo Hosting

* A Railway volume mounted on `/data` (created by the template)
* A public Railway domain for the service (created by the template)

### Deployment Dependencies

* OpenTodo: https://github.com/OpenTodoApp/OpenTodo
* OpenTodo docs: https://open-todo.app/docs/
* Template source: https://github.com/aalfath/opentodo-railway-template

### Implementation Details

**Services:** one service, **OpenTodo** (web app, sync API and SQLite database), built from the template repo with its data on the volume.

**After deploy:**

1. Open the OpenTodo service's **Variables** tab and copy `OPENTODO_SETUP_TOKEN`.
2. Open the service's `https://….up.railway.app` address. The setup screen asks for your name, email, a password (10+ characters) and the setup token. That account becomes the owner.
3. Invite other people from Settings. Sign-up stays closed, so nobody else can register on their own.

**Variables:** `OPENTODO_SETUP_TOKEN` (generated, guards the owner account), `OPENTODO_BASE_URL` (the service's own HTTPS address; change it to `https://YOUR-DOMAIN` if you add a custom domain) and `PORT` (8080). Mail, single sign-on, CalDAV, the MCP endpoint and S3 or WebDAV backups are optional and set up later in OpenTodo's Settings or with the `OPENTODO_*` variables in the upstream docs.

**Updates:** the service builds from the template's GitHub repo, which pins an exact OpenTodo version. When the repo moves to a new release, Railway shows an update notice on your project and you choose when to apply it. Read the repo's `CHANGELOG.md` first and back up the volume: OpenTodo migrates its database on start and has no down-migrations.

## Why Deploy OpenTodo 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 OpenTodo 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)
- [Wiki-Go](https://railway.com/deploy/wiki-go) — Flat-file Markdown wiki in Go: no database, generated admin login

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