Sign inSign up

benhutchins/piwik

By benhutchins

Updated over 8 years ago

Fully functional Piwik with plugin support, crons and more.

Image
0

8.9K

benhutchins/piwik repository overview

What is Piwik?

Piwik is an open-source web analytics platform, providing detailed reports of web traffic.

Usage

docker run \
  --name piwik \
  --link some-mysql:mysql \
  -p 80:80 \
  -v $(pwd)/config:/var/www/html/config/:rw \
  benhutchins/piwik

Database

The example above uses --link to connect the Piwik container with a running mysql container. To start a mysql container simply run:

docker run \
  --name some-mysql \
  -e MYSQL_ROOT_PASSWORD=password \
  -e MYSQL_DATABASE=piwik \
  -e MYSQL_USER=piwik \
  -e MYSQL_PASSWORD=password \
  mysql

You'll want to configure the database name, user and password whcih will be used as part of the Piwik installation process.

Docker Compose

To run with Docker Compose, copy the docker-compose.yml from this repository and run:

docker-compose up

Tag summary

Content type

Image

Digest

sha256:ed9947f03

Size

203.2 MB

Last updated

over 8 years ago

docker pull benhutchins/piwik