Deploy kuvasz

Open-source uptime and SSL monitoring with status pages, API and MCP

Deploy kuvasz

/var/lib/postgresql/data

Deploy and Host kuvasz on Railway

kuvasz (pronounced "KOO-vos") is an open-source uptime and SSL monitor: HTTP, TCP, ICMP, DNS and push (heartbeat) monitors, SSL certificate expiry checks, public status pages, maintenance windows, incident notes, alerts to Slack, Discord, Telegram, PagerDuty, ntfy and webhooks, a REST API, YAML-as-code and a built-in MCP server for AI assistants. This template deploys the official kuvaszmonitoring/kuvasz:4.9.0 image with a PostgreSQL database, login enabled and every credential generated. No inputs are needed.

About Hosting kuvasz

kuvasz is a single JVM service backed by PostgreSQL. On Railway the template runs two services:

  • kuvasz: the web UI, REST API, MCP server and the checkers, behind a public HTTPS domain. Upstream caps the JVM heap at 192 MB (JAVA_TOOL_OPTIONS); total memory sits above that and grows with the number of monitors.
  • Postgres: PostgreSQL 18 (Railway's image), reachable only over the private network, with a 5 GB volume. Monitors, check history, status pages and settings live there, so they survive redeploys.

Login is on from the first second. The template generates:

  • the admin password (ADMIN_PASSWORD, 24 characters, user admin);
  • a REST API key (ADMIN_API_KEY);
  • a separate MCP key (ADMIN_MCP_API_KEY);
  • the JWT signing secret, so web sessions survive restarts.

Anonymous visitors get only the login page, /api/v2/health, the status pages you choose to publish, and push-monitor heartbeat URLs (each carries its own secret, so treat those URLs as credentials). The dashboard, the monitor API and MCP need a login or a key.

First login: in Railway, open the kuvasz service → Variables, copy ADMIN_PASSWORD, and sign in at https://YOUR-DOMAIN as admin.

Common Use Cases

  • Uptime and response-time monitoring for websites, APIs and Railway services, with alerts to chat or on-call tools.
  • SSL certificate expiry warnings before customers see a browser error.
  • Public or private status pages for your products.
  • Heartbeat (push) monitors for cron jobs and background workers.
  • Letting an AI assistant read and manage monitors through MCP at /mcp.

Dependencies for kuvasz Hosting

  • A Railway account. Both services are included in this template.
  • Optional: a Slack, Discord, Telegram, PagerDuty or other webhook for alerts. Email alerts need SMTP, which Railway blocks below the Pro plan.

Deployment Dependencies

Implementation Details

  • kuvasz: built from the template repo's Dockerfile, which is FROM kuvaszmonitoring/kuvasz:4.9.0 plus fixed settings: ADMIN_USER=admin, ENABLE_MCP_SERVER=true, TZ=UTC and the database port, name and user. Port 8080, IPv4 and IPv6. Healthcheck /api/v2/health with a 300-second timeout, because database migrations run before the first start completes. Restart policy: always.
  • Database connection: DATABASE_HOST and DATABASE_PASSWORD reference the Postgres service; port, database and user are the image defaults baked into the kuvasz image. The Postgres service builds postgres/Dockerfile, Railway's PostgreSQL image with its data directory set, so the template has no blank fields.
  • REST API: send X-API-KEY: YOUR-ADMIN_API_KEY or Authorization: Bearer YOUR-ADMIN_API_KEY.
  • MCP: point your client at https://YOUR-DOMAIN/mcp with ADMIN_MCP_API_KEY as the bearer token. The REST key does not work there.
  • Not applicable on Railway: Docker container monitoring, which needs the host's Docker socket.
  • Configuration: any setting from the configuration reference can be added as a service variable, for example ENABLE_OIDC for single sign-on or the retention days.
  • Single sign-on: ENABLE_OIDC=true lets every identity your provider accepts sign in with full rights, and the built-in admin password stops being used. Restrict access at the provider or with OIDC_ALLOWED_EMAILS when you turn it on.
  • Upgrading: the template repo pins the image by tag. Back up the Postgres volume first; kuvasz migrates the schema at start and does not support downgrades.

Why Deploy kuvasz 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 kuvasz 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