Documentation Index
Fetch the complete documentation index at: https://revlytics.co/docs/llms.txt
Use this file to discover all available pages before exploring further.
Docker Compose
Revlytics includes adocker-compose.yml for running ClickHouse and Redis locally:
docker-compose.yml
Setup steps
Configure environment
.env with your ClickHouse, Supabase, and other credentials. See Environment Variables.Production considerations
- ClickHouse — Use ClickHouse Cloud or a managed instance for production workloads
- PostgreSQL — Use Supabase or a managed PostgreSQL service
- SSL — Put the app behind a reverse proxy (Nginx, Caddy) with TLS
- Domain — Point your domain to the server and update
NEXT_PUBLIC_APP_URL - Script hosting — Update the tracking script URL in your sites to point to your domain
Using the tracking script with self-hosted
Point the script to your self-hosted instance:data-endpoint attribute is needed when the script is served from your domain.