Piwik is the leading open-source analytics platform that gives you more than just powerful analytics:
- Free open-source software
- 100% data ownership
- User privacy protection
- User-centric insights
- Customisable and extensible
The easiest is to use our docker-compose.yml
.
Make sure you have docker-compose installed. And then:
git clone https://github.com/eInfraCentral/eic-analytics.git
cd eic-analytics
MYSQL_ROOT_PASSWORD=Your password of choice docker-compose up -d --build
You can now access your instance on the port 8084 of the IP of your machine.
Subsequent launches are done via (the password is ignored):
docker-compose up -d --build
We recommend the usage of TLS, so the easiest is to use a TLS capable reverse proxy. Here are 2 examples:
You can also modify manually the nginx configuration file and map the TLS port of the host to the container.
Once started, you'll arrive at the configuration wizard.
At the Database Setup
step, please enter the following:
- Database Server:
mydb
- Login:
root
- Password: Your password of choice (from above)
- Database Name: piwik (or you can choose)
And leave the rest as default.
Then you can continue the installation with the super user.
In order to backup, just run the ./pre-backup
script. And copy all the data to a safe place.
Pull requests are very welcome!
We'd love to hear your feedback and suggestions in the issue tracker: github.com/eInfraCentral/eic-analytics/issues.
This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com.