Official Repository

Last pushed: 10 days ago
Short Description
Piwik is the leading open-source analytics platform that gives you more than powerful analytics.
Full Description

Supported tags and respective Dockerfile links

Quick reference

Piwik

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

How to use this image

$ docker run --name some-piwik --link some-mysql:db -d piwik

Now you can get access to fpm running on port 9000 inside the container. If you want to access it from the Internets, we recommend using a reverse proxy in front. You can find more information on that on the docker-compose section.

Via docker-compose

You can use a setup that is used in production at IndieHosters/piwik.

Installation

Once started, you'll arrive at the configuration wizard. At the Database Setup step, please enter the following:

  • Database Server: db
  • Login: root
  • Password: MYSQL_ROOT_PASSWORD
  • Database Name: piwik (or you can choose)

And leave the rest as default.

Then you can continue the installation with the super user.

Contribute

Pull requests are very welcome!

We'd love to hear your feedback and suggestions in the issue tracker: github.com/piwik/docker-piwik/issues.

GeoIP

This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com.

License

View license information for the software contained in this image.

Docker Pull Command

Comments (4)
matthh
8 months ago

Hi sstrigler,

same problem here, but everything is fine with tags and latest. I found a way to upgrade my container. You need to know two things:

  1. https://github.com/piwik/docker-piwik/blob/master/Dockerfile installs Piwik to /usr/src/piwik and creates a volume /var/www/html
  2. https://github.com/piwik/docker-piwik/blob/master/docker-entrypoint.sh copies /usr/src/piwik to /var/www/html

I use a setup with docker-compose with a second nginx container. Both containers share /var/www/html.

A simple docker pull piwik is not enough, you need to delete files in /var/www/html or remove both containers (delete volume). After this you can start a new container from piwik:2.16.5. Hope this helps...

sstrigler
9 months ago

'latest' is not set to '2.16.5', '2.16.5' seems to contain piwik 2.16.2.

sstrigler
9 months ago

2.16.3/4?

markmatthews
10 months ago

Hi folks.
As per https://github.com/piwik/docker-piwik/issues/38
It would really really help if you added some instruction that the Piwik instance is in a php-fpm server that only serves fast-cgi, not http, and that you have to put an nginx server in front of it to use http :-)