📈 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
port
Alper Alkan37460dddc832
diff --git a/Dockerfile b/Dockerfileindex bb61ba6cf..99ef40074 100644--- a/Dockerfile+++ b/Dockerfile@@ -31,5 +31,5 @@ COPY --from=build /build/package*.json ./COPY --from=build /build/dist/ ./dist/COPY --from=build /build/node_modules/ ./node_modules/CMD [ "npm", "run", "start:prod" ]-EXPOSE 80+EXPOSE 5005HEALTHCHECK CMD wget -nv -t1 --spider 'http://localhost/ping' || exit 1\ No newline at end of filediff --git a/README.md b/README.mdindex 49c4ab752..979d99118 100644--- a/README.md+++ b/README.md@@ -74,4 +74,6 @@ Below you will find the Environment Variables that are required to run the API.Make sure to set up your reverse proxy to pass the request IP address as an `x-forwarded-for` header, otherwise it may cause the issues related to API routes rate-limiting and analytics sessions.The API depends on several Cloudflare headers (`cf-ipcountry` and `cf-connecting-ip` as a backup), so ideally you should use it too.-The production swetrix.com API is covered by the Cloudflare proxying.+The production swetrix.com API is covered by the Cloudflare proxying.++The API should be available under port 5005.