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 vs Meilisearch
self-hosted Typesense vs Meilisearch

onepush
0
View Template
Betterlytics
Betterlytics is a cookieless analytics platform GDPR-compliant.

OpenSource Templates
27
View Template
Finance Tracker
Private multi-user household finance ledger with budgets and CSV import.

wotonews
0