Public | Automated Build

Last pushed: 5 months ago
Short Description
A docker image with nginx and piwik.
Full Description


A docker image with nginx and piwik.

Pull from docker hub

To pull this image from the docker hub, use to following command:

docker pull auchri/docker-nginx-piwik

Building from source

To build from source you need to clone the git repo and run docker build:

git clone
docker build -t auchri/docker-nginx-piwik:latest .


To run the container with docker-compose:

docker-compose up

To run the container with docker:

docker run --name mysql -p 80:80 -e MYSQL_ROOT_PASSWORD=pw -e MYSQL_DATABASE=piwik -e MYSQL_USER=piwik -e MYSQL_PASSWORD=piwik mariadb
docker run -d --link mysql:database --name piwik auchri/docker-nginx-piwik

After that, you can access piwik on port 80.


At the first time you access piwik, you have to enter the database credentials and create an admin user.
use database as the mysql host.
use piwik as database-name, db_username and db_password


After replacing the container, you have to access the database credentials again. But you can use the existing data, so you don't need to set everything again.

Docker Pull Command
Source Repository