---
title: "Deploy SubTrackr"
description: "Self-hosted subscription tracker: monthly spend, renewals and reminders"
category: "Other"
url: https://railway.com/deploy/subtrackr
---

# Deploy SubTrackr

Self-hosted subscription tracker: monthly spend, renewals and reminders

**[Deploy SubTrackr on Railway](https://railway.com/template/subtrackr)**

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

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

## Template content

### SubTrackr https://raw.githubusercontent.com/bscott/subtrackr/v0.7.1/web/static/images/icon-512.png

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

## Documentation

# Deploy and Host SubTrackr on Railway

SubTrackr is an open-source, self-hosted subscription tracker. You add the services you pay for, such as streaming, software or hosting, and it shows your monthly and yearly spend, upcoming renewals on a calendar, and spend by category, with multi-currency support, renewal reminders and a REST API.

## About Hosting SubTrackr

SubTrackr is a single Go web app that keeps everything in one SQLite database, so hosting it means running one container with a persistent disk and HTTPS in front. The catch is security: upstream starts with login switched off, and its Settings page only lets you turn login on after e-mail is configured, so a fresh public instance would be open to anyone. This template builds the official 0.7.1 image from our GitHub repo, keeps the database on a Railway volume, and switches login on with a generated admin password before the port opens. It uses about 25 MB of RAM and fits the Free plan.

## Common Use Cases

* Keep track of every recurring subscription and what it costs per month and per year
* Get e-mail or push reminders before renewals and free trials end, so you can cancel in time
* See spend by category and currency, export to CSV or iCal, and feed other tools through the REST API

## Dependencies for SubTrackr Hosting

* SubTrackr web app (Go, official `ghcr.io/bscott/subtrackr` image, pinned by version and digest)
* A Railway volume for the SQLite database at `/app/data`

### Deployment Dependencies

* [SubTrackr on GitHub](https://github.com/bscott/subtrackr) and its [0.7.1 release](https://github.com/bscott/subtrackr/releases/tag/v0.7.1)
* [Template repository](https://github.com/aalfath/subtrackr-railway-template) (Dockerfile, start script and changelog)

### Implementation Details

**Services:** one service, **SubTrackr**: the web app and API, with a public HTTPS domain, a health check on `/healthz` and a volume for its SQLite database. No separate database is needed.

**After deploying:**

1. Open the public URL and sign in as `admin` with the password shown in the service's **Variables** tab (`SUBTRACKR_ADMIN_PASSWORD`). Change the variable to rotate the password (12+ characters).
2. Under **Settings**, choose your currency, add categories, and set up e-mail (SMTP), Pushover, Telegram, ntfy, Gotify or webhook reminders if you want them. OpenID Connect login is also set up there.
3. Optional: add `FIXER_API_KEY` (free key from fixer.io) as a variable for automatic currency conversion.
4. For the REST API, create a key under **Settings → API Keys** and call `https://YOUR-DOMAIN/api/v1/subscriptions` with `Authorization: Bearer YOUR-KEY`.

Login stays on: if you switch it off in Settings, it comes back on at the next restart. The admin password is only re-applied when you change the variable, so a reset done through the app's e-mail link is kept.

**Updates:** the service builds from our GitHub repo. When we release a new SubTrackr version, Railway shows an "update available" notice on your project and you choose when to apply it; read the repo's CHANGELOG first. Your data stays on the volume.

## Why Deploy SubTrackr 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 SubTrackr 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/subtrackr
