Sign inSign up

xieyanbo/docker-piwik

By xieyanbo

•Updated about 9 years ago

piwik

Image
0

275

xieyanbo/docker-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

Size

203.4 MB

Last updated

about 9 years ago

docker pull xieyanbo/docker-piwik:3.1.1