Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

add IS_PRIMARY_NODE docs

Blue Mouseec074e4c7e70
diff --git a/docs/selfhosting/configuring.md b/docs/selfhosting/configuring.md
index 0517d8ce6..6f3d57d60 100644
--- a/docs/selfhosting/configuring.md
+++ b/docs/selfhosting/configuring.md
@@ -23,6 +23,7 @@ The following environment variables are available for configuration:
| `JWT_REFRESH_TOKEN_SECRET` | _auto-generated by `configure.sh`_ | Secret for JWT refresh tokens |
| `API_KEY` | | An optional API key for accessing your stats via the API directly. If not set - direct API access is disabled. |
| `CLOUDFLARE_PROXY_ENABLED` | `false` | If set to `true` - Swetrix will get IP address information from `cf-connecting-ip` header provided by Cloudflare. |
+| `IS_PRIMARY_NODE` | `true` | You should not touch this variable unless you know what you are doing. It's used to spin off multiple API instances in a cluster, where only one of them will be primary. If changed to `false`, things like cron task manager will be disabled for this instance. |
## Redis
| Variable | Default | Description |