Deploy SubTrackr
Self-hosted subscription tracker: monthly spend, renewals and reminders
SubTrackr
Just deployed
/app/data
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/subtrackrimage, pinned by version and digest) - A Railway volume for the SQLite database at
/app/data
Deployment Dependencies
- SubTrackr on GitHub and its 0.7.1 release
- Template repository (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:
- Open the public URL and sign in as
adminwith the password shown in the service's Variables tab (SUBTRACKR_ADMIN_PASSWORD). Change the variable to rotate the password (12+ characters). - 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.
- Optional: add
FIXER_API_KEY(free key from fixer.io) as a variable for automatic currency conversion. - For the REST API, create a key under Settings → API Keys and call
https://YOUR-DOMAIN/api/v1/subscriptionswithAuthorization: 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.
Template Content
SubTrackr
aalfath/subtrackr-railway-template