Railway

Deploy OpenPanel

Open-source analytics platform for web and mobile apps

Deploy OpenPanel

Just deployed

Just deployed

op-redis

redis:8.2.1

Just deployed

/data

Just deployed

Just deployed

/var/lib/clickhouse

Just deployed

Just deployed

/var/lib/postgresql/data

Deploy and Host OpenPanel on Railway

Deploy OpenPanel with zero configuration.

OpenPanel is an open-source web and product analytics platform that combines the power of Mixpanel with the ease of Plausible, making it one of the best Google Analytics replacements.

About Hosting OpenPanel

OpenPanel is made up of several services working together, including an API, dashboard, worker, and multiple data stores.

Running this yourself normally means setting up PostgreSQL, ClickHouse, Redis, background workers, networking, and storage. This template handles all of that automatically.

All required services are provisioned and connected for you. No configuration is required. Just deploy and start sending events.

A Caddy reverse proxy is included so the dashboard and API are served from a single domain. This allows authentication and cookies to work correctly without needing custom domain setup.

Common Use Cases

  • Product analytics for web and apps
  • Funnel, retention, and event analysis
  • Self-hosted analytics for privacy and control

Dependencies for OpenPanel Hosting

  • PostgreSQL for application data
  • ClickHouse for analytics data
  • Redis for caching and queues
  • Caddy reverse proxy for routing

Deployment Dependencies

Implementation Details

Optional Environment Variables:

Email configuration:

  • EMAIL_SENDER Sender address for notifications
  • RESEND_API_KEY API key for sending email via Resend

Access control:

  • ALLOW_INVITATION Allow users to invite others
  • ALLOW_REGISTRATION Allow new registrations after the first user

All core functionality works without additional configuration.

Why Deploy OpenPanel 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 OpenPanel 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
Bugsink
Self-hosted Error Tracking. Sentry-SDK compatible

zǝʇɹoɔ oɓıɹpoɹ
View Template
SubTrackr
Self-hosted Subscription Tracker

amnesia
View Template
Superset
An open-source modern data exploration and visualization platform.

beuz