---
title: "Deploy OpenStatus"
description: "Uptime monitoring and public status pages, with checks run from Railway"
category: "Observability"
url: https://railway.com/deploy/status-page
---

# Deploy OpenStatus

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

**[Deploy OpenStatus on Railway](https://railway.com/template/status-page)**

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

- **Creator:** Two Workspaces
- **Category:** Observability

## Template content

### Probe https://raw.githubusercontent.com/two-workspaces/openstatus/main/icon.svg

- **Image:** ghcr.io/two-workspaces/openstatus:3105cf7

### libSQL https://raw.githubusercontent.com/two-workspaces/openstatus/main/icon.svg

- **Image:** ghcr.io/tursodatabase/libsql-server:v0.24.33
- **Health check:** /health

### Tinybird https://raw.githubusercontent.com/two-workspaces/openstatus/main/icon.svg

- **Image:** tinybirdco/tinybird-local@sha256:8ca42307d1bff63ba0a2bd96c0d03856f1c58c74118c8fcc825091cf22032e78
- **Start command:** `/bin/bash -c 'm=$(cat /sys/fs/cgroup/memory.max 2>/dev/null); if [ "$m" != max ] && [ "${m:-0}" -lt 1900000000 ] 2>/dev/null; then echo "Tinybird Local needs 2 GB of memory and this plan gives each service $((m/1048576)) MB, so it is not started (it would only crash-loop). Move to a plan with 2 GB per service and redeploy."; exec sleep infinity; fi; mkdir -p /data/clickhouse /data/redis /data/object-storage; for p in /var/lib/clickhouse:/data/clickhouse /redis-data:/data/redis /var/lib/object-storage:/data/object-storage; do if [ ! -L "${p%%:*}" ]; then rm -rf "${p%%:*}"; ln -s "${p##*:}" "${p%%:*}"; fi; done; mkdir -p /etc/clickhouse-server/config.d; printf %s "<clickhouse><max_thread_pool_size>300</max_thread_pool_size><max_thread_pool_free_size>32</max_thread_pool_free_size><concurrent_threads_soft_limit_num>16</concurrent_threads_soft_limit_num><background_schedule_pool_size>32</background_schedule_pool_size><background_common_pool_size>4</background_common_pool_size><background_buffer_flush_schedule_pool_size>4</background_buffer_flush_schedule_pool_size><background_distributed_schedule_pool_size>4</background_distributed_schedule_pool_size><background_message_broker_schedule_pool_size>4</background_message_broker_schedule_pool_size><background_move_pool_size>2</background_move_pool_size><background_fetches_pool_size>2</background_fetches_pool_size><max_io_thread_pool_size>16</max_io_thread_pool_size><max_active_parts_loading_thread_pool_size>8</max_active_parts_loading_thread_pool_size><max_outdated_parts_loading_thread_pool_size>8</max_outdated_parts_loading_thread_pool_size><max_parts_cleaning_thread_pool_size>8</max_parts_cleaning_thread_pool_size><tables_loader_foreground_pool_size>8</tables_loader_foreground_pool_size><tables_loader_background_pool_size>8</tables_loader_background_pool_size></clickhouse>" > /etc/clickhouse-server/config.d/railway-threads.xml; grep -q "listen \[::\]:7181" /etc/nginx/sites-enabled/tinybird.conf || sed -i "s/listen 7181 default_server;/listen 7181 default_server; listen [::]:7181 default_server;/" /etc/nginx/sites-enabled/tinybird.conf; (sleep 3; exec tail -n 0 -F /var/log/tinybird-local-setup.log) & exec /usr/bin/supervisord'`

### Workflows https://raw.githubusercontent.com/two-workspaces/openstatus/main/icon.svg

- **Image:** ghcr.io/openstatushq/openstatus-workflows:50fe8c5
- **Health check:** /ping

### Status https://raw.githubusercontent.com/two-workspaces/openstatus/main/icon.svg

- **Image:** ghcr.io/openstatushq/openstatus-status-page:50fe8c5
- **Start command:** `/bin/sh -c 'm=$(cat /sys/fs/cgroup/memory.max 2>/dev/null); if [ "$m" != max ] && [ "${m:-0}" -lt 1900000000 ] 2>/dev/null; then M=$m exec node -e "eval(atob(\"Y29uc3QgaD1yZXF1aXJlKCdodHRwJyk7Y29uc3QgYj0nPCFkb2N0eXBlIGh0bWw+PG1ldGEgY2hhcnNldD11dGYtOD48bWV0YSBuYW1lPXZpZXdwb3J0IGNvbnRlbnQ9IndpZHRoPWRldmljZS13aWR0aCI+PHRpdGxlPk9wZW5TdGF0dXMgbmVlZHMgbW9yZSBtZW1vcnk8L3RpdGxlPjxib2R5IHN0eWxlPSJmb250OjE2cHgvMS41IHN5c3RlbS11aTttYXgtd2lkdGg6MzZlbTttYXJnaW46NGVtIGF1dG87cGFkZGluZzowIDFlbSI+PGgxPk9wZW5TdGF0dXMgbmVlZHMgMiBHQiBwZXIgc2VydmljZTwvaDE+PHA+SXRzIFRpbnliaXJkIHNlcnZpY2UgKHRoZSB0aW1lLXNlcmllcyBzdG9yZSBiZWhpbmQgZXZlcnkgY2hhcnQgYW5kIHVwdGltZSBiYXIpIG5lZWRzIDIgR0Igb2YgbWVtb3J5LCBhbmQgdGhpcyBwbGFuIGdpdmVzIGVhY2ggc2VydmljZSAnK01hdGgucm91bmQoK3Byb2Nlc3MuZW52Lk0vMTA0ODU3NikrJyBNQi48L3A+PHA+TW92ZSB0aGUgcHJvamVjdCB0byBhIHBsYW4gdGhhdCBhbGxvd3MgMiBHQiBwZXIgc2VydmljZSAoSG9iYnkgb3IgYWJvdmUpLCB0aGVuIHJlZGVwbG95IHRoZSBUaW55YmlyZCwgRGFzaGJvYXJkIGFuZCBTdGF0dXMgc2VydmljZXMuIE5vdGhpbmcgaGFzIGJlZW4gc2V0IHVwIHlldCwgc28gbm90aGluZyBpcyBsb3N0LjwvcD4nO2guY3JlYXRlU2VydmVyKChxLHMpPT57cy53cml0ZUhlYWQocS51cmwuc3RhcnRzV2l0aCgnL2FwaS9oZWFsdGgnKT8yMDA6NTAzLHsnY29udGVudC10eXBlJzondGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04J30pO3MuZW5kKGIpfSkubGlzdGVuKCtwcm9jZXNzLmVudi5QT1JUfHwzMDAwLCc6OicpO2NvbnNvbGUubG9nKCdNZW1vcnkgY2FwICcrTWF0aC5yb3VuZCgrcHJvY2Vzcy5lbnYuTS8xMDQ4NTc2KSsnIE1CIGlzIGJlbG93IHRoZSAyIEdCIFRpbnliaXJkIG5lZWRzOiBzZXJ2aW5nIGEgbm90aWNlIHBhZ2UgaW5zdGVhZCBvZiBPcGVuU3RhdHVzLicp\"))"; fi; exec docker-entrypoint.sh node server.js'`
- **Health check:** /api/health
- **Public domain:** Yes

### Dashboard https://raw.githubusercontent.com/two-workspaces/openstatus/main/icon.svg

- **Image:** ghcr.io/openstatushq/openstatus-dashboard:50fe8c5
- **Start command:** `/bin/sh -c 'm=$(cat /sys/fs/cgroup/memory.max 2>/dev/null); if [ "$m" != max ] && [ "${m:-0}" -lt 1900000000 ] 2>/dev/null; then M=$m exec node -e "eval(atob(\"Y29uc3QgaD1yZXF1aXJlKCdodHRwJyk7Y29uc3QgYj0nPCFkb2N0eXBlIGh0bWw+PG1ldGEgY2hhcnNldD11dGYtOD48bWV0YSBuYW1lPXZpZXdwb3J0IGNvbnRlbnQ9IndpZHRoPWRldmljZS13aWR0aCI+PHRpdGxlPk9wZW5TdGF0dXMgbmVlZHMgbW9yZSBtZW1vcnk8L3RpdGxlPjxib2R5IHN0eWxlPSJmb250OjE2cHgvMS41IHN5c3RlbS11aTttYXgtd2lkdGg6MzZlbTttYXJnaW46NGVtIGF1dG87cGFkZGluZzowIDFlbSI+PGgxPk9wZW5TdGF0dXMgbmVlZHMgMiBHQiBwZXIgc2VydmljZTwvaDE+PHA+SXRzIFRpbnliaXJkIHNlcnZpY2UgKHRoZSB0aW1lLXNlcmllcyBzdG9yZSBiZWhpbmQgZXZlcnkgY2hhcnQgYW5kIHVwdGltZSBiYXIpIG5lZWRzIDIgR0Igb2YgbWVtb3J5LCBhbmQgdGhpcyBwbGFuIGdpdmVzIGVhY2ggc2VydmljZSAnK01hdGgucm91bmQoK3Byb2Nlc3MuZW52Lk0vMTA0ODU3NikrJyBNQi48L3A+PHA+TW92ZSB0aGUgcHJvamVjdCB0byBhIHBsYW4gdGhhdCBhbGxvd3MgMiBHQiBwZXIgc2VydmljZSAoSG9iYnkgb3IgYWJvdmUpLCB0aGVuIHJlZGVwbG95IHRoZSBUaW55YmlyZCwgRGFzaGJvYXJkIGFuZCBTdGF0dXMgc2VydmljZXMuIE5vdGhpbmcgaGFzIGJlZW4gc2V0IHVwIHlldCwgc28gbm90aGluZyBpcyBsb3N0LjwvcD4nO2guY3JlYXRlU2VydmVyKChxLHMpPT57cy53cml0ZUhlYWQocS51cmwuc3RhcnRzV2l0aCgnL2FwaS9oZWFsdGgnKT8yMDA6NTAzLHsnY29udGVudC10eXBlJzondGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04J30pO3MuZW5kKGIpfSkubGlzdGVuKCtwcm9jZXNzLmVudi5QT1JUfHwzMDAwLCc6OicpO2NvbnNvbGUubG9nKCdNZW1vcnkgY2FwICcrTWF0aC5yb3VuZCgrcHJvY2Vzcy5lbnYuTS8xMDQ4NTc2KSsnIE1CIGlzIGJlbG93IHRoZSAyIEdCIFRpbnliaXJkIG5lZWRzOiBzZXJ2aW5nIGEgbm90aWNlIHBhZ2UgaW5zdGVhZCBvZiBPcGVuU3RhdHVzLicp\"))"; fi; exec docker-entrypoint.sh node server.js'`
- **Health check:** /api/health
- **Public domain:** Yes

## Documentation

# Deploy and Host OpenStatus on Railway

[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/new/template/status-page?referralCode=sLjDXb&utm_medium=integration&utm_source=button&utm_campaign=openstatus)

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

- [OpenStatus on GitHub](https://github.com/openstatusHQ/openstatus)
- [OpenStatus self-hosting documentation](https://docs.openstatus.dev/guides/self-hosting-openstatus/)
- [Template source](https://github.com/two-workspaces/openstatus)

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


## Similar templates

- [Rootprint](https://railway.com/deploy/rootprint-1) — Open-source logs and traces with full-text search on object-storage.
- [Pyroscope profiling](https://railway.com/deploy/pyroscope-profiling) — Protected continuous profiling with durable Pyroscope storage.
- [SigOnly](https://railway.com/deploy/sigonly) — Deploy SigNoz with a working demo app & config in one click

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