Deploy GlitchTip

Open-source, Sentry-compatible error tracking with Postgres and Redis

Deploy GlitchTip

/var/lib/postgresql/data

/code/uploads

Just deployed

/data

Deploy and Host GlitchTip on Railway

GlitchTip is an open-source error tracking platform that is compatible with Sentry's SDKs. Point any Sentry client at it to collect errors and stack traces, then group them into issues and alert your team. It also covers performance monitoring, uptime checks and logs, and keeps all the data on your own infrastructure.

About Hosting GlitchTip

GlitchTip needs PostgreSQL 15 or newer, and runs faster with Redis or Valkey for its cache and task queue. Since version 7, a single process serves the web UI and API and runs the background worker and scheduler. This template deploys GlitchTip 7.0.0 from a GitHub repo that pins the official image by digest, plus Railway's PostgreSQL and Redis. Uploaded source maps and debug files go on a volume. On first boot it runs the database migrations and creates your admin account. Open sign-up is off, so nobody else can claim the instance. Later updates come as repo releases you choose when to apply.

Common Use Cases

  • Catch exceptions and crashes from web, mobile and backend apps with any Sentry SDK
  • Track slow transactions and watch your sites with uptime monitors and status pages
  • Replace a hosted Sentry plan with a self-hosted, Sentry-compatible service you control

Dependencies for GlitchTip Hosting

  • PostgreSQL 15 or newer (Railway PostgreSQL included)
  • Redis or Valkey (Railway Redis included)

Deployment Dependencies

Implementation Details

Enter one value when you deploy: GLITCHTIP_ADMIN_EMAIL. The admin password is generated. Read GLITCHTIP_ADMIN_PASSWORD in the GlitchTip service's Variables tab, log in at your Railway domain, create an organization and a project, and copy its DSN into your app's Sentry SDK.

Optional settings, added as variables on the GlitchTip service:

  • Email for invites, password resets and alerts: EMAIL_URL=smtp://USER:PASSWORD@SMTP-HOST:587 and DEFAULT_FROM_EMAIL. Without it, emails are only written to the log.
  • Open sign-up: ENABLE_USER_REGISTRATION=True. By default, the admin invites users from an organization's Members page.
  • Data retention: GLITCHTIP_RETENTION_DAYS (default 90).
  • Custom domain: after adding it in Railway, set GLITCHTIP_DOMAIN=https://YOUR-DOMAIN so links and DSNs use it.

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