📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
added redis user .env var
Blue Mouse393b0475e461
diff --git a/.env.example b/.env.exampleindex b71765550..c67f00841 100644--- a/.env.example+++ b/.env.example@@ -8,6 +8,7 @@ MYSQL_ROOT_PASSWORD=passwordMYSQL_DATABASE=analyticsREDIS_HOST=localhostREDIS_PORT=6379+REDIS_USER=defaultREDIS_PASSWORD=CLICKHOUSE_HOST=http://localhostCLICKHOUSE_USER=defaultdiff --git a/src/common/constants.ts b/src/common/constants.tsindex 82bdd5506..1d8b47d7d 100644--- a/src/common/constants.ts+++ b/src/common/constants.ts@@ -10,6 +10,7 @@ require('dotenv').config()const redis = new Redis(_toNumber(process.env.REDIS_PORT), process.env.REDIS_HOST, {password: process.env.REDIS_PASSWORD,+ username: process.env.REDIS_USER,})redis.defineCommand('countKeysByPattern', {