What leaves your network
Every outbound connection a self-hosted Cohorly can make: what it never sends to Cohorly, the one connection that is always on, and each optional integration with the setting that turns it on.
A self-hosted instance sends nothing to Cohorly. This page lists what else can leave the host, so your network team can write firewall rules and review the data flows.
What never leaves
- No telemetry, no usage reports, no phone-home. The server, the error worker and the dashboard do not contact Cohorly.
- The license check is offline. The key is verified against a public key and a release date that are inside the image (see License key). No server is asked.
- Errors are not reported to Cohorly. The server reports to Sentry only when
you set
SENTRY_DSN, and then to your own Sentry project. The dashboard image is built with no Sentry address, so it cannot report anywhere. - Geolocation uses a local file. The server reads city-level location from a
DB-IP(opens in new tab) "IP to City Lite" database that is inside the image
(CC BY 4.0). IP addresses are looked up on the host and never sent to a
service. The file is as old as the image, so a new version brings a newer
database.
COHORLY_GEOIP_DISABLED=1turns geolocation off. - The dashboard bundles its fonts and its framework telemetry is off. Browsers that open the dashboard talk only to your domain. The dashboard has links to Cohorly's public documentation; a browser requests them only when a person clicks one.
Always on: certificates
When COHORLY_DOMAIN is a public name, Caddy talks to Let's Encrypt to get and
renew the certificate. That needs outbound access to the internet from the
caddy container, and inbound access on port 80 and 443 for the challenge. It
sends the domain name and nothing from your data.
Pulling images
Docker pulls the images you tell it to, from the registry you chose (see Getting the images). With the offline package, nothing is pulled.
Optional connections
Each of these is off until you set it. None of them is needed to run Cohorly.
| Connection | Turned on by | What is sent, and where |
|---|---|---|
COHORLY_SMTP_URL | The e-mails the server sends, to your SMTP server. | |
| Blob storage in S3 | COHORLY_BLOB_DRIVER=s3 | Symbol uploads and session replay chunks, to your S3-compatible endpoint. |
| Sentry | SENTRY_DSN | The API's unhandled errors, to Sentry. |
| Single sign-on | An owner configures it in Settings | The sign-in exchange, from the API to your identity provider, over https. |
| Google sign-in | GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET | The sign-in exchange, from the API to Google. |
| Alert webhooks | An owner adds a webhook rule | Alert payloads, to the URL the owner enters. |
| MCP clients that connect with OAuth | A person connects an MCP client | The API fetches the client's public metadata document from the address the client gives, over https, to a public address only. |
| AI chat agent | OPENROUTER_API_KEY | See below. |
| Grafana Cloud | docker compose --profile monitoring up -d | Metrics and logs of the host and of every container on it. See Monitoring. |
The AI chat agent
With no OPENROUTER_API_KEY the AI chat agent is off. When you set one, the
questions people ask and the query results the agent needs to answer them are
sent to OpenRouter (openrouter.ai) and to the model provider behind it.
COHORLY_AI_MODELS lists the models to try, in order. Leave the key empty if
event data must not leave your network.
Google sign-in
Setting both Google values adds a "Sign in with Google" button. People who use it are redirected to Google, and the API exchanges the sign-in code with Google. Event data is not part of that exchange.
Check it on your host
docker-compose.offline.yml, one of the files you download in
Install, lets you prove it on your own host. It puts
PostgreSQL, the API and the error worker on an internal Docker network with no
route out of the host. The dashboard and Caddy join that network and keep their
normal one. Start the stack with both files:
bashdocker compose -f docker-compose.yml -f docker-compose.offline.yml up -d --no-build
The instance then starts, passes the license check, ingests events and serves the dashboard with the API and the worker unable to reach anything outside the host. An outbound request from the API container fails:
bashdocker compose -f docker-compose.yml -f docker-compose.offline.yml exec -T server node -e \"fetch('https://example.com', { signal: AbortSignal.timeout(5000) }).then(() => console.log('reached'), () => console.log('no route'))"
This is a check, not a production setup. With it, e-mail, S3, Sentry, Google
sign-in, single sign-on to a provider outside the host, alert webhooks and the
AI agent cannot work, because they all need a route out. Remember to run every
later docker compose command with both -f flags, or the containers return to
the normal network.