---
title: "Deploy GlitchTip"
description: "Open-source, Sentry-compatible error tracking with Postgres and Redis"
category: "Observability"
url: https://railway.com/deploy/glitchtip-1
---

# Deploy GlitchTip

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

**[Deploy GlitchTip on Railway](https://railway.com/template/glitchtip-1)**

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

- **Creator:** Agaz Self-Host
- **Category:** Observability

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### GlitchTip https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/glitchtip.png

- **Source:** https://github.com/aalfath/glitchtip-railway-template
- **Health check:** /_health/
- **Public domain:** Yes

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

## Documentation

# 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

* GlitchTip install guide: https://glitchtip.com/documentation/install
* GlitchTip 7.0.0 release notes: https://gitlab.com/glitchtip/glitchtip-backend/-/releases/v7.0.0
* Template repo: https://github.com/aalfath/glitchtip-railway-template

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



## 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/glitchtip-1
