Deploy Rybbit
Web analytics that shows who visits your site and what they do
Just deployed
Just deployed
/var/lib/postgresql/data
Just deployed
Redis
Just deployed
/data
Just deployed
clickhouse
Just deployed
/var/lib/clickhouse
Deploy and Host Rybbit on Railway
Rybbit is an open-source, privacy-friendly analytics platform that answers the questions Google Analytics makes hard: which pages people actually read, where they came from, and where they give up. It is cookieless, needs no consent banner, and goes well past a pageview counter — sessions, funnels, retention cohorts, user journeys, session replay, Core Web Vitals and error tracking all ship in the open-source build. Product teams, indie developers and agencies self-host Rybbit for the depth of a product-analytics tool without handing visitor data to a third party.
Self-host Rybbit on Railway and you get the full production topology, not a single container. The template runs six services: a Caddy front door on the public domain, the backend API and ingest service, the client dashboard, ClickHouse for event storage, Postgres for accounts and site configuration, and Redis for session resolution and bot scoring. Caddy is what lets one domain serve both halves — it routes /api/* and the OAuth discovery documents to the backend and everything else to the dashboard, so the browser talks to a single origin and the login cookie behaves.

Getting Started with Rybbit on Railway
Open the public URL once the deploy finishes and you land on a signup screen. There are no default credentials — Rybbit makes the first account to register the admin, so create yours immediately. The second step asks for the domain you want to track and an organisation name; both can be changed later.
You then land on the dashboard with an installation snippet waiting. Paste that `
Railway skips the host, the Docker install and the certificate — the same six services, provisioned and connected.
## Is Rybbit Free to Self-Host?
Yes. Rybbit is AGPL-3.0, and the self-hosted build has no seat limit, no event cap and no paywalled features — session replay, funnels and retention are all included. Rybbit Cloud starts around $13/month billed annually for up to five sites. Self-hosting on Railway costs only the compute and storage the six services use, so cost scales with event volume rather than a pricing tier.
## FAQ
**What is Rybbit?**
Rybbit is an open-source, cookieless web and product analytics platform — a Google Analytics alternative that adds funnels, retention, session replay and error tracking, and that you host yourself.
**What does this Railway template deploy?**
Six services: Caddy on the public domain, the Rybbit backend and dashboard, ClickHouse, Postgres and Redis — already connected with private networking, volumes and health checks.
**Why does Rybbit need ClickHouse as well as Postgres?**
They store different things. ClickHouse suits enormous append-only event tables scanned by time range, which is what analytics queries are. Postgres holds the relational data — users, organisations, sites, funnels, goals — where transactions and joins matter more than scan speed.
**How do I create the first admin account in self-hosted Rybbit?**
Visit the public URL and register. The first account to sign up is promoted to admin automatically; there is no default username or password. Set `DISABLE_SIGNUP` to `true` afterwards.
**Does Rybbit need a cookie consent banner?**
Rybbit sets no cookies and stores no personal data, so most deployments do not need one. Check the regulations that apply to you before removing an existing banner.
**Why don't my test events show up on the dashboard?**
Rybbit scores incoming traffic for bot behaviour and files automated events separately, so a burst of scripted requests from one IP returns `200` and still never appears. Test with a real browser loading a real page.
**Can I keep using my existing reverse proxy or CDN?**
Yes. Attach a custom domain to the Caddy service and put Cloudflare or another CDN in front. Visitor IPs are read from forwarded headers, so geolocation keeps working.
Template Content
