Deploy HitKeep

Self-hosted, privacy-friendly web analytics on Railway

Deploy HitKeep

Just deployed

/var/lib/hitkeep/data

Deploy and Host HitKeep on Railway

HitKeep is privacy-first web analytics for people who want useful website analytics without relying on third-party analytics services. It provides dashboards for website traffic and events while keeping the analytics infrastructure under your control. HitKeep runs as a single self-hosted application and does not require a separate PostgreSQL, Redis, Kafka, or ClickHouse deployment for its core analytics functionality.

About Hosting HitKeep

This template deploys HitKeep as a single Docker service on Railway using the current HitKeep release. A persistent Railway volume is attached so your analytics data survives redeployments. The template automatically generates HitKeep's authentication secret and configures the application to use its Railway public domain. A readiness health check is included so Railway can determine when the service is ready to receive traffic. After deployment, open the generated public URL and create your HitKeep administrator account. You can then add your website and install HitKeep's tracking script.

Common Use Cases

  • Privacy-focused website traffic analytics
  • Self-hosted analytics for personal or business websites
  • Tracking pageviews, events, and website performance
  • Keeping analytics infrastructure under your own control
  • Replacing third-party analytics platforms

Dependencies for HitKeep Hosting

  • Railway persistent volume
  • HitKeep Docker image
  • No external database, cache, or message queue is required for core analytics

Implementation Details

This template uses HitKeep's official Docker image and exposes its default HTTP port, 8080. Persistent application data is stored under /var/lib/hitkeep/data.

HitKeep embeds DuckDB and NSQ, allowing the core analytics application to run as a single service without separately deploying PostgreSQL, Redis, Kafka, ClickHouse, or another database or queue service.

Why Deploy HitKeep 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 HitKeep 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
Typesense Multilingual
Locale-aware multilingual search with Typesense

onepush
0
View Template
Formbricks | Open-Source Typeform & Qualtrics Alternative
Surveys, NPS and in-app feedback on your own Postgres, Hub and Cube

Two Workspaces
2
View Template
Typesense PHP
official PHP client against Railway

onepush
0