Railway

Deploy Replace Sentry Without Changing a Line of Code — GlitchTip on Railway

Self-host Sentry-compatible error tracking. Change DSN, keep your code.

Deploy Replace Sentry Without Changing a Line of Code — GlitchTip on Railway

Just deployed

Just deployed

/data

/var/lib/postgresql/data

Bucket

Bucket

Just deployed

Deploy and Host GlitchTip on Railway

GlitchTip open-source error tracking platform

GlitchTip is the open-source Sentry-compatible error tracking platform — change your DSN URL and your existing @sentry/* SDK code works immediately, with zero re-instrumentation. Error tracking, uptime monitoring, and performance monitoring in 4 containers running on 512 MB RAM. Sentry.io charges $26–$80/user/month. GlitchTip on Railway costs ~$5–10/month flat for your entire team with unlimited events and unlimited projects.

GlitchTip v6 (February 2026) — improved stack traces, performance monitoring, and active development.


What This Template Deploys

ServicePurpose
GlitchTip Web v6Django web application and Celery worker — error ingestion, issue grouping, performance monitoring, uptime checks, and dashboard UI
PostgreSQL 17 (SSL)Primary database — organizations, projects, issues, events, and user data
Redis 8.2.1Message broker for Celery background workers and response caching
BucketS3-compatible object storage for source maps and uploaded event attachments

All services connect over Railway's private internal network. Database and Redis credentials are injected automatically. GlitchTip runs web server and background worker in a single container — no separate worker service required.


About Hosting GlitchTip

Self-hosting Sentry requires Kafka, ClickHouse, Snuba, and a 1,000+ line Docker Compose file — significant operational overhead that most small and mid-sized teams cannot justify. GlitchTip achieves the same Sentry SDK compatibility in 4 containers with 512 MB RAM and a deployment that takes minutes, not days.

Railway provisions all four GlitchTip services automatically — PostgreSQL, Redis, object storage, and the web application — pre-wired over private networking with HTTPS and automatic container lifecycle management. No server administration required.

Typical cost: ~$5–10/month on Railway's Hobby plan for the full stack. Sentry.io Team plan costs $26/user/month — for a 3-person team that's $78/month with usage-based event quotas that spike unexpectedly. GlitchTip on Railway has no event quotas and no per-user fees.


Deploy in Under 5 Minutes

  1. Click Deploy on Railway — all four services build automatically (~3–5 minutes)
  2. Set SECRET_KEY to a random 50-character string in the Variables tab
  3. Set EMAIL_URL to your SMTP provider (e.g. Resend or SendGrid) for user notifications
  4. Open your Railway URL — create your admin account at /register
  5. Create a project, copy the GlitchTip DSN, and replace your existing Sentry DSN — your @sentry/node, @sentry/python, or any other Sentry SDK starts reporting immediately

No code changes. No re-tagging. Just update the DSN.


Common Use Cases

  • Migrate from Sentry.io without changing any code — GlitchTip implements the Sentry SDK wire protocol; change the DSN URL in your environment variables and all existing @sentry/* instrumentation routes to your Railway instance with zero migration effort
  • Self-hosted error tracking for teams hitting Sentry's pricing wall — Sentry Team costs $26/user/month with event quota caps; GlitchTip on Railway costs ~$5–10/month flat for unlimited users, events, and projects
  • Error tracking for GDPR-sensitive applications — all error events, stack traces, and user context stay in your Railway PostgreSQL instance; no data sent to Sentry's US servers
  • Application monitoring for indie hackers and small teams — run error tracking, uptime monitoring, and performance monitoring for every project at a fixed infrastructure cost with no per-project or per-event fees
  • Lightweight alternative to self-hosted Sentry — GlitchTip runs in 4 containers on 512 MB RAM; self-hosted Sentry requires Kafka, ClickHouse, and significant DevOps overhead
  • Uptime monitoring alongside error tracking — configure uptime monitors for external URLs directly in GlitchTip; receive alerts when services go down without a separate monitoring tool

Configuration

VariableRequiredDescription
SECRET_KEY✅ RequiredDjango secret key — generate a random 50-character string
DATABASE_URL✅ Auto-injectedPostgreSQL SSL connection string via Railway reference variable
REDIS_URL✅ Auto-injectedRedis connection URI via Railway reference variable
GLITCHTIP_DOMAINRecommendedYour Railway public URL — e.g. https://your-app.up.railway.app. Required for correct DSN generation
EMAIL_URLRecommendedSMTP URL for notifications — e.g. smtp+tls://user:pass@smtp.resend.com:465
DEFAULT_FROM_EMAILRecommendedSender address for notification emails
ENABLE_USER_REGISTRATIONOptionalSet to False to disable public sign-ups after creating admin account
GLITCHTIP_MAX_EVENT_LIFE_DAYSOptionalDays to retain events — defaults to 90. Reduce to control PostgreSQL storage growth
PORTAuto-setRailway injects the port automatically

GlitchTip vs. Alternatives

GlitchTip (Railway)Sentry.ioSelf-hosted SentryRollbar
Monthly cost~$5–10 flat$26/user/monthFree (but complex)$12/user/month
3-person team cost~$5–10/mo$78/month~$20–30/mo (VPS)$36/month
Event quotas✅ Unlimited❌ Quota-based✅ Unlimited❌ Quota-based
Sentry SDK compatible✅ Drop-in✅ Native✅ Native❌ Custom SDK
Containers required✅ 4N/A❌ 40+N/A
RAM footprint✅ 512 MBN/A❌ 4+ GBN/A
Data ownership✅ Your instance❌ Sentry servers✅ Your instance❌ Rollbar servers
Uptime monitoring✅ Built-in❌ Add-on❌ Add-on❌ No
Self-hostable✅ Yes❌ No✅ Yes❌ No
Open source✅ Yes✅ Limited✅ Yes❌ No

Dependencies for GlitchTip Hosting

  • Railway account — Hobby plan (~$5–10/month) for the four-service stack
  • SMTP provider for email notifications — Resend, SendGrid, or Mailgun recommended (Railway Hobby plan blocks SMTP; use an HTTPS API-based provider)

Deployment Dependencies

Implementation Details

GlitchTip v6 runs the Django web server and Celery worker in a single container process alongside PostgreSQL 17 SSL, Redis 8.2.1, and object storage for source maps — all pre-wired over Railway's private internal network. Set GLITCHTIP_DOMAIN to your Railway public URL immediately after deploy — without it, the DSN in the dashboard points to localhost and SDK connections will fail.


Frequently Asked Questions

Can I migrate from Sentry.io without changing any code? Yes. GlitchTip implements the Sentry SDK wire protocol — change the dsn parameter in your existing Sentry SDK initialisation to your GlitchTip Railway domain and all events route to your self-hosted instance. No SDK changes, no re-instrumentation, no migration project. Works with every @sentry/* SDK across JavaScript, Python, Ruby, Go, PHP, and more.

How much does GlitchTip cost compared to Sentry.io? GlitchTip on Railway runs at ~$5–10/month flat for the full stack with unlimited events and unlimited users. Sentry.io Team plan costs $26/user/month — for a 3-person team that's $78/month with usage-based event quotas. At 10-person team scale, Sentry costs $260/month. GlitchTip stays at ~$5–10/month regardless of team size or event volume.

Why is GlitchTip easier to self-host than Sentry? Self-hosted Sentry requires Kafka, ClickHouse, Snuba, and a 1,000+ line Docker Compose file with significant memory requirements. GlitchTip runs the same Sentry SDK protocol in 4 containers using 512 MB RAM — Railway deploys the full stack in under 5 minutes with no infrastructure knowledge required.

Does my error and stack trace data stay private? Yes. All error events, stack traces, breadcrumbs, and user context are stored in your Railway PostgreSQL instance. GlitchTip does not send event data to any external service. This is particularly important for applications handling sensitive user data or operating under GDPR, HIPAA, or other data residency requirements.

Do I lose error history if Railway redeploys? No. All issues, events, and project data are stored in the Railway-managed PostgreSQL database. Source maps are stored in the object storage bucket. Redeploys and version updates do not affect stored error data.

How do I configure email notifications? Set EMAIL_URL to an SMTP URL from your chosen email provider. On Railway's Hobby plan, raw SMTP is blocked — use Resend (smtp+tls://resend-key@smtp.resend.com:465), SendGrid, or any HTTPS API-compatible SMTP relay instead.


Why Deploy and Host 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 get Sentry-compatible error tracking, uptime monitoring, and performance monitoring — no event quotas, no per-user fees, full data ownership — at ~$5–10/month flat for your entire team.


Template Content

More templates in this category

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

zoeyjones
View Template
Unwrapped Spotify Music Stats
Unwrapped Spotify Music Stats, Estatísticas de músicas disponíveis

Jorge Henrique
View Template
OpenTelemetry Collector and Backend
OpenTelemetry Collector with Backend Stack

Melissa