Railway

Deploy Bugsink

Self-hosted Error Tracking. Sentry-SDK compatible

Deploy Bugsink

Just deployed

MySQL

mysql:9

Just deployed

/var/lib/mysql

Deploy and Host Bugsink on Railway

What is Bugsink?

Bugsink is an open-source, self-hosted error tracking platform compatible with Sentry SDKs. It helps developers monitor exceptions, inspect stack traces, and debug production issues while maintaining full ownership of their infrastructure and telemetry data.

About Hosting Bugsink

Hosting Bugsink requires deploying the application server alongside a PostgreSQL database for storing events, issues, users, and project metadata. Since Bugsink supports standard Sentry SDKs, teams can integrate it into existing applications with minimal setup changes.

Railway simplifies deployment by handling infrastructure provisioning, networking, environment variables, persistent storage, and service orchestration. A typical deployment includes a Bugsink web service, a PostgreSQL database, persistent storage volumes, and optional SMTP configuration for notifications. Railway also supports automatic deployments from GitHub and seamless scaling as your monitoring needs grow.

Common Use Cases

  • Self-hosted application error monitoring for privacy-conscious teams
  • Replacing hosted Sentry deployments with a lightweight alternative
  • Centralized exception tracking across APIs, web apps, and background workers

Dependencies for Bugsink Hosting

  • PostgreSQL database
  • Persistent volume storage

Deployment Dependencies

Implementation Details

Example Dockerfile:

FROM bugsink/bugsink:latest

Example environment variables:

DATABASE_URL=postgres://postgres:password@postgres:5432/bugsink
SECRET_KEY=replace-with-secure-random-value
ALLOWED_HOSTS=your-app.up.railway.app
PORT=8000

Example startup command:

python manage.py migrate && gunicorn bugsink.wsgi:application --bind 0.0.0.0:$PORT

Why Deploy Bugsink 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 Bugsink 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
Matomo Analytics + MariaDB
Privacy-friendly analytics with MariaDB and persistent volumes.

leodev
View Template
SubTrackr
Self-hosted Subscription Tracker

amnesia
View Template
Dashy — Open Source Homer & Homarr Alternative on Railway
Self Host Dashy. Open Source Start Page with Widgets & Themes

Heimdall