Docker Compose skeleton project for GDPR compliant web analytics via GoAccess.
Report Bug
·
Request Feature
This project aims to provide an example Docker Compose skeleton for setting up GDPR compliant web analytics via a tracking pixel.
To get a local copy up and running follow these simple example steps.
- Docker
- Docker Compose
- Clone the repo
git clone https://github.com/veskoy/goaccess-docker.git
- Create a website configuration file
mv nginx/sites-available/example.com.conf nginx/sites-available/yoursite.com.conf
- Alter the
server_name
,access_log
androot
values appropriately - Adjust the
goaccess/html
volume and goaccess command--log-file=
insidedocker-compose.yml
Run the project:
docker-compose up
Tracking pixel is accessible on http://yoursite.com/stats.gif while the analytics web interface could be found on http://yoursite.com/index.html (you can serve it wherever you want).
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request