Self-hosted app·Dashboards, analytics and smart home
Rybbit hosting on a Swiss VPS.
Rybbit hosting on a Swiss VPS in ALP1: Docker Compose setup, ClickHouse sizing, S3 backups, from $22.99/month, paid in crypto, no KYC.
- ClickHouse
- PostgreSQL
- Redis
- Next.js
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port20 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $206.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 6 vCPU, 8 GB RAM
- 320 GB NVMe local storage
- 20 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/07
Short answer.
Yes. Rybbit runs on our Cloud VPS without modification, and the plan we recommend is Cloud VPS Pro: 6 vCPU, 8 GB RAM, 320 GB NVMe and 20 TB of monthly transfer for $22.99, deployed with Debian 13 in ALP1, our site in the Swiss Alps. Rybbit is a Docker Compose stack built around ClickHouse, and memory decides how it behaves long before CPU does. The step most people get wrong comes before the first docker compose up: the official setup script generates an auth secret but leaves the ClickHouse, Postgres and Redis passwords at the defaults written into the compose file, and Postgres reads its password only when it initialises an empty volume. Set all three yourself on day one; the procedure is below.
02/07
What Rybbit is and who runs it.
Rybbit is open-source web and product analytics with a cookieless tracking script. The code is published under the rybbit-io organisation on GitHub and licensed AGPL-3.0. Its founder, Bill Yang, cuts most releases himself, and the same team sells a hosted Rybbit Cloud. The self-hosted build lacks a few cloud features, Web Vitals among them, and the Google Search Console integration needs your own Google OAuth credentials.
The project moves quickly. On 4 November 2026 the latest release is v2.8.0, published 27 July 2026, which among other changes made the compose file bind service ports to localhost by default. v2.7.0, three weeks earlier, moved session tracking into Redis, so a current install has one more stateful service than most tutorials written in 2025 show. Read the release notes before every update; v2.0 shipped a breaking change and there is no reason to assume it was the last.
The stack as defined in the repository's docker-compose.yml (checked 4 November 2026):
| Service | Image | Holds | Host binding |
|---|---|---|---|
| caddy | caddy:2.10.0 | TLS certificates, reverse proxy | 80/tcp, 443/tcp, 443/udp |
| client | ghcr.io/rybbit-io/rybbit-client | Next.js dashboard | 127.0.0.1:3002 |
| backend | ghcr.io/rybbit-io/rybbit-backend | Node.js API and event ingestion | 127.0.0.1:3001 |
| clickhouse | clickhouse/clickhouse-server:26.3.17.4 | events, session replays | 127.0.0.1:8123 |
| postgres | postgres:17.4 | accounts, organisations, site settings | 127.0.0.1:5432 |
| redis | redis:8.6.4-alpine | live sessions, identity, bot counters | 127.0.0.1:6379 |

Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/07
Requirements and sizing.
Upstream asks for a VPS with at least 2 GB of RAM, a domain or subdomain pointed at it, and HTTPS, because browsers block tracking scripts served over plain HTTP. Their guide is tested on Ubuntu 24 LTS on x86_64, and ARM hosts need ARMv8.2-A or later for ClickHouse. We deploy it on Debian 13, for which Docker's own APT repository publishes packages.
Treat 2 GB as the size at which the stack boots, not the size at which it stays up. The compose file lets ClickHouse use up to 80 % of RAM, with background merges allowed up to 25 %, and starts the backend with four cluster workers unless you set CLUSTER_WORKERS. On a 2 GB machine ClickHouse may legitimately grow to about 1.6 GB, which leaves roughly 400 MB for four Node workers, the Next.js client, Postgres, Redis, Caddy and the kernel (theoretical, from the configured ratios). Redis runs with noeviction, so when memory runs short it refuses writes instead of dropping keys, and event ingestion starts failing. On Pro the same ratio gives ClickHouse up to 6.4 GB and keeps 1.6 GB for everything else, which is the margin we want once a dashboard query scans several months of events.
| Plan | vCPU / RAM / NVMe / transfer | Price per month | Where it fits |
|---|---|---|---|
| Cloud VPS Standard | 4 / 4 GB / 160 GB / 15 TB | $12.99 | One or two small sites, replay off, CLUSTER_WORKERS=2 |
| Cloud VPS Pro | 6 / 8 GB / 320 GB / 20 TB | $22.99 | Our default: several sites, replay on selected pages |
| Cloud VPS Power | 12 / 16 GB / 640 GB / 40 TB | $42.99 | Busy sites with replay, long retention, many dashboard users |
| Dedicated Rigi | 6c/12t / 32 GB / 1 TB | $64.99 | Years of ClickHouse history; unmetered traffic under fair use |
These fits are engineering judgement, not benchmarks. Larger hardware lives on our dedicated servers page.
Disk growth is driven by session replay far more than by pageviews. Rybbit's own documentation warns that replays take a lot of space and keeps them for 30 days by default. If you only need replays to debug a checkout, shorten the TTL in ClickHouse to 7 or 14 days (the two ALTER TABLE statements are on upstream's "Managing your installation" page) and enable replay only on the pages that need it.
Transfer on VPS plans is metered, not unmetered: Pro includes 20 TB a month. For plain analytics that ceiling is far away. Session replay uploads DOM snapshots and mutations, and on a busy site with replay switched on everywhere, transfer is the number to watch.
Only four ports need to face the internet: 22 for SSH, 80 for certificate issuance and the HTTPS redirect, 443/tcp, and 443/udp for HTTP/3. Everything else binds to 127.0.0.1 in the current compose file, and it should stay that way. Ports that Docker publishes on all interfaces bypass ufw's input rules, and setup.sh --no-webserver writes exactly such a binding (HOST_BACKEND_PORT="3001:3001") into .env.
04/07
How to deploy it with us.
- 01Order Cloud VPS Pro with Debian 13 from the deploy link. Opening an account is no-KYC: an email address is enough, and payment is in crypto.
- 02Create an
Arecord for your analytics subdomain, saystats.example.com, pointing at the VPS's IPv4 address. If the zone is on Cloudflare, either set the record to "DNS only" or put SSL/TLS in Full (strict); Flexible mode produces a redirect loop with Caddy. - 03Install Docker Engine and the Compose plugin from Docker's repository (suite
trixie), not the olderdocker.iopackage from Debian's archive. - 04Clone the repository and write
.envyourself instead of runningsetup.sh:
git clone https://github.com/rybbit-io/rybbit.git
cd rybbit
umask 077
cat > .env <<EOF
DOMAIN_NAME=stats.example.com
BASE_URL=https://stats.example.com
BETTER_AUTH_SECRET=$(openssl rand -hex 32)
CLICKHOUSE_PASSWORD=$(openssl rand -hex 24)
POSTGRES_PASSWORD=$(openssl rand -hex 24)
REDIS_PASSWORD=$(openssl rand -hex 24)
DISABLE_SIGNUP=false
DISABLE_TELEMETRY=true
EOF
docker compose --profile with-webserver up -d
docker compose psThe setup script writes only the domain, the base URL, the auth secret and the signup flag before starting the stack, so the three database passwords fall back to the compose defaults. Because those services listen on localhost only, this is not an open door, but it does mean any process on the host knows the credentials, and fixing Postgres afterwards means changing the role's password inside the database rather than in .env. DISABLE_TELEMETRY=true stops the instance from reporting table row counts, total database size, its version and a hashed instance ID to Rybbit's cloud, which a self-hosted install otherwise does by default.
- 05Open
https://stats.example.com/signup, create the admin account, then setDISABLE_SIGNUP=truein.envand runchmod +x *.sh && ./restart.sh. - 06Add a site in the dashboard and paste the snippet it gives you into your pages.
Upstream's update path is git pull && ./update.sh. Take a backup first and read the release notes; the compose file's IMAGE_TAG variable lets you pin the backend and client images instead of following latest.
Backups belong off the VPS, and our object storage buckets are S3-compatible, which suits both databases. ClickHouse writes a backup straight to a bucket with BACKUP DATABASE analytics TO S3('https://<endpoint>/<bucket>/rybbit/ch-2026-11-04', '<access_key>', '<secret_key>'), run through docker exec clickhouse clickhouse-client, and later runs can be incremental with SETTINGS base_backup = S3(...). For Postgres, docker exec postgres pg_dump -U frog analytics (frog is the default role unless you set POSTGRES_USER) piped into restic or rclone does the job. The optional daily VPS backups snapshot the whole disk, which makes a good second layer, but a snapshot taken while ClickHouse is merging parts is crash-consistent at best. Never put ClickHouse's data directory on an rclone mount: a bucket is an API, not a block device.
05/07
Cost.
| Item | Per month |
|---|---|
| Cloud VPS Pro (6 vCPU, 8 GB, 320 GB NVMe, 20 TB transfer, 1 Gbps, 1 IPv4) | $22.99 |
| Daily VPS backups (+20 %) | $4.60 |
| Object storage, 250 GB bucket for database backups | $1.99 |
| Total | $29.58 |
Yearly billing takes roughly 25 % off the VPS, which puts Pro at $206.99 a year, or $17.25 a month (the yearly price divided by twelve). An extra IPv4 is $2 a month and priority support $10; outbound port 25 is open on every VPS, although Rybbit does not need it. Payment is crypto only (Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins), with prices and balances in US dollars. Top-ups run from $25 to $5,000 and carry a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500; the unused paid part of a top-up is refundable within 14 days. The full list is on our pricing page.
The price buys a server, not a managed Rybbit. Updates, backups and the ClickHouse merge that eats your RAM at two in the morning are yours to handle. If nobody on your team wants that job, Rybbit Cloud is the sensible alternative, with the trade-off that your data then sits wherever Rybbit's team hosts it rather than in ALP1.
06/07
Where the data sits, and what that changes.
Your Rybbit data stays on the VPS in ALP1, operated by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen). Swiss data protection law applies: the revised Federal Act on Data Protection has been in force since 1 September 2023, and on 15 January 2024 the European Commission confirmed that Switzerland still provides an adequate level of protection, so an EU site owner can send visitor data here without additional transfer safeguards. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. That describes treaties, not a guarantee that no foreign request can ever reach a Swiss company; our offshore hosting page goes through the detail.
Cookieless does not put you outside data protection law. Rybbit processes IP addresses for geolocation and, since v2.8.0, buckets them to keep visitor identity stable; it can attach the user IDs you send it, and session replay records what visitors do on the page. You are the controller for that data and your privacy notice has to say so.
07/07
Limits and acceptable use.
Running Rybbit is allowed on every VPS and dedicated server. What is not allowed is using it against people rather than for your own sites: placing the tracking script on sites you do not operate or are not authorised to measure, using session replay to capture passwords, card numbers or other credentials, and fingerprinting visitors to build profiles across third-party sites. The tracking script exposes rrweb's replay options, so configure input masking and exclude login and payment pages before you switch replay on. Port 25 is open, and spam sent from the instance is abuse whatever software sends it.
Your obligations as the operator are the ordinary ones. Keep Rybbit and Debian patched (Rybbit shipped two Next.js security updates in December 2025 alone), keep retention proportionate to what you actually use, publish a privacy notice on every tracked site and answer access and deletion requests from your own database. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful (Swico Code of Conduct Hosting 2025). To reach us, open a support ticket from the client panel.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProRecommendedProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can I run Rybbit on the $6.99 Starter plan?
It will start, since Starter has the 2 GB upstream names as its minimum. With the shipped ratios ClickHouse can claim about 1.6 GB, and four backend workers, the Next.js client, Postgres and Redis share what is left (theoretical). We would expect out-of-memory kills as data accumulates. Standard with CLUSTER_WORKERS=2 is the smallest plan we would put a real site on, and Pro is the one we recommend.
Does a self-hosted Rybbit talk to anything outside my server?
By default it reports usage statistics to Rybbit's cloud until you set DISABLE_TELEMETRY=true. The other outbound integrations are opt-in: a Mapbox token for 3D maps, an OpenRouter key and Google OAuth credentials for Search Console. Leave those empty if you want the data to stay in ALP1, and if you need certainty, watch outbound connections with ss or your firewall for a day.
Can I put ClickHouse on object storage to save disk?
No. Our buckets are S3-compatible object storage reached through an API, not a volume you format and mount, and a database on top of an rclone mount will corrupt itself sooner or later. Use buckets for backups. When the 320 GB on Pro runs short, move to Power with 640 GB, or to a dedicated server, where extra NVMe is $10 a month per 2 TB.
I already run Nginx or Traefik. Do I need Caddy?
No. Start the stack without the webserver profile (docker compose up -d starts everything except Caddy), then proxy /api/* to 127.0.0.1:3001 and everything else to 127.0.0.1:3002. Keep the default localhost bindings, and avoid setup.sh --no-webserver, which publishes both ports on every interface.
Can I bring existing analytics data with me?
Rybbit has imported from Umami and Simple Analytics since v2.3.0; the Data Import page in its documentation lists the current sources and limits. Import before you enable replay, so the first disk-usage numbers you look at reflect history rather than recordings.
Do I have to identify myself to order?
No. An email address is enough to open an account, and you pay in crypto. You remain responsible, as the operator, for what your Rybbit instance collects and for the privacy notices on the sites it tracks.
Sources
Every fact on this page, with its source
Checked 4 Nov 2026 unless noted.
Swiss law and authorities
EU and other countries
Industry, providers and software
- docker-compose.yml, rybbit-io/rybbit, master (images, localhost bindings, default passwords, ClickHouse memory ratios, CLUSTER_WORKERS, Redis noeviction)github.com
- setup.sh, rybbit-io/rybbit, master (variables written to .env, --no-webserver port bindings)github.com
- rybbit-io/rybbit README (AGPL-3.0 licence, Web Vitals marked cloud-only)github.com
- rybbit-io/rybbit releases (v2.8.0 of 27 July 2026, v2.7.0 Redis session tracking, v2.4.0 rrweb options, v2.3.0 Umami and Simple Analytics import, v2.2.2 and v2.2.3 Next.js security updates)github.com
- Docker, Install Docker Engine on Debiandocs.docker.com
Other references
- Rybbit, Quick start (self-hosting prerequisites: 2 GB RAM, HTTPS, Ubuntu 24 LTS tested, ARMv8.2-A for ClickHouse)rybbit.com
- Rybbit, Managing your installation (update and restart scripts, replay retention TTL, telemetry contents and DISABLE_TELEMETRY)rybbit.com
- Rybbit, Self-hosted vs Cloud (Search Console requires Google OAuth variables)rybbit.com
- Rybbit, Manual Docker Compose setup (proxying /api/ to port 3001)rybbit.com
- Trial to Paid podcast, episode with Bill Yang, founder of Rybbitshare.transistor.fm
- Docker Official Image postgres (environment variables take effect only on an empty data directory)hub.docker.com
- ClickHouse, BACKUP / RESTORE to or from an S3 endpointclickhouse.com
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
