Deploy OpenStatus

Uptime monitoring and public status pages, with checks run from Railway

Deploy OpenStatus

Deploy and Host OpenStatus on Railway

Deploy on Railway

OpenStatus is an open-source uptime monitor and status page. You add HTTP, TCP, DNS or ping monitors in its dashboard; it checks them on a schedule, charts response times and uptime, alerts you on Slack, Discord, Telegram, PagerDuty, webhooks and more when something breaks, and publishes a status page your users can open to see what is up, past incidents and planned maintenance. It is licensed AGPL-3.0. This template runs the whole self-hosted stack on Railway: the dashboard, the public status page, the background workflows, a checker that runs your monitors from Railway, libSQL for the data and Tinybird Local for the check results.

This is a community template, not made or supported by OpenStatus.

About Hosting OpenStatus

Deploy and wait for every service to turn green. The first boot takes a few minutes: Tinybird Local starts, and the Probe service loads OpenStatus's analytics tables into it before checks begin.

Signing in: open the Dashboard's Railway domain, enter your email and press "Sign in". No email is sent: the sign-in link is printed in the Dashboard service's deploy logs (the line starting with >>> Magic Link:). Open it and you are in. Only people who can read your Railway logs can sign in this way, so a stranger who finds the address cannot. To let teammates in, invite them from the dashboard and send them the link from the logs, or set up GitHub or Google sign-in (see below).

Your first status page: create a status page in the dashboard, add your monitors to it and publish it. The first status page you create answers on the Status service's Railway domain; the Probe service sets that up within 30 seconds. For more pages, or your own domain, add a custom domain to the Status service in Railway and list the pages in STATUS_PAGE_DOMAINS on the Probe service, for example acme=status.acme.com,beta=beta-status.acme.com (page slug = host name).

Where checks run from: every new monitor is linked to a private location called "Railway" and checked by the Probe service, from the Railway region the template is deployed in. OpenStatus Cloud's worldwide checker regions are not part of the open-source release, so the region list on a monitor has no effect here. To check from more places, run upstream's private-location container anywhere else and point it at this deploy (see upstream's docs). To stop a monitor being linked automatically, unlink it in the dashboard (that sticks) or set AUTO_LINK_MONITORS=false on the Probe service.

Alerts: Slack, Discord, Telegram, webhooks, PagerDuty, Opsgenie, ntfy and the other chat and webhook channels work. Email alerts and email sign-in do not: upstream sends them through Resend from its own domain, which a self-hosted install cannot use.

Plan limits: a self-hosted install has no billing, so the Probe service puts every workspace on the full limits of upstream's top plan (100 monitors, 30-second checks, 20 status pages and so on).

GitHub or Google sign-in (optional): create an OAuth app with the callback https://‹dashboard domain›/api/auth/callback/github (or /google) and fill AUTH_GITHUB_ID and AUTH_GITHUB_SECRET (or the Google pair) on the Dashboard service. Note that this lets anyone with a GitHub or Google account create a workspace on your install.

Your data: monitors, pages and accounts are in the libSQL service, check results in the Tinybird service, each on its own volume. Redeploys keep both.

Common Use Cases

  • A public status page for a SaaS product, API or community service, on your own domain
  • Uptime and response-time monitoring for websites and APIs, with alerts to Slack, Discord or Telegram
  • Announcing incidents and planned maintenance to users from one dashboard
  • Watching services on Railway's private network that outside monitors cannot reach
  • Replacing a paid status-page service with one you host

Dependencies for OpenStatus Hosting

  • libSQL (included)
  • Tinybird Local (included)

Deployment Dependencies

Implementation Details

  • Services: Dashboard and Status (OpenStatus's own images, on Railway domains), Workflows (the background jobs), Probe (checker, result ingest and setup, built from this repo), libSQL (sqld) and Tinybird Local. Only the Dashboard and Status have public addresses; libSQL and Tinybird are reachable only on Railway's private network, as neither asks for a password there. Upstream's REST API server is left out: the dashboard, status page and checks do not need it, so the REST API, the CLI and MCP are not available.
  • One click instead of a manual setup: upstream's self-hosting guide has you install the Tinybird CLI, deploy the analytics project, create a private location and edit the database by hand. The Probe service does all of it on start: it migrates the database, deploys OpenStatus's Tinybird project over Tinybird Local's HTTP API (with a patch for tables the current Tinybird Local rejects), unlocks workspace limits, creates the private location, links monitors and maps status page domains, every 30 seconds.
  • Pinned versions: OpenStatus images are pinned to upstream commit 50fe8c5; libSQL to v0.24.33; Tinybird Local to an image digest. Updates come as tested bumps.
  • Never crash-looping on memory: Tinybird Local needs about 2 GB. On a plan whose services get less, the Dashboard and Status pages say so, Tinybird waits instead of restarting over and over, and the deploy logs say the same.
  • Memory: measured on Railway with light use: Tinybird about 1.9–2.0 GB (it runs at a 2 GB cap, with little headroom), Status about 350 MB, the Dashboard about 180–260 MB, Workflows about 170 MB, Probe about 140 MB and libSQL about 25 MB (Railway's figures, which include file cache). The stack needs the Hobby plan or higher.

Why Deploy OpenStatus 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 OpenStatus 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
Rootprint
Open-source logs and traces with full-text search on object-storage.

Rootprint
1
View Template
Pyroscope profiling
Protected continuous profiling with durable Pyroscope storage.

Anton Orel
1
View Template
SigOnly
Deploy SigNoz with a working demo app & config in one click

zoeyjones
21