
How to Self-Host Ackee Analytics with Docker
What Is Ackee? Ackee is a self-hosted, privacy-focused analytics tool that tracks page views, referrers, browsers, and operating systems without cookies. It stores data in MongoDB, exposes a GraphQL API, and provides a clean single-page dashboard. Ackee is designed for developers who want basic traffic metrics without the complexity of Matomo or the cloud dependency of Google Analytics. Prerequisites A Linux server (Ubuntu 22.04+ recommended) Docker and Docker Compose installed ( guide ) 512 MB of free RAM 2 GB of free disk space A domain name (recommended for CORS and HTTPS) Docker Compose Configuration Create a docker-compose.yml file: services : ackee : image : electerious/ackee:3.5.1 container_name : ackee restart : unless-stopped ports : - " 3000:3000" environment : ACKEE_MONGODB : " mongodb://mongo:27017/ackee" ACKEE_USERNAME : " admin" # CHANGE: dashboard login username ACKEE_PASSWORD : " change-this-password" # CHANGE: use a strong password ACKEE_ALLOW_ORIGIN : " https://exampl
Continue reading on Dev.to
Opens in a new tab


