https://github.com/benhutchins/docker-piwik
Dockerized Piwik container, that actually configures everything. http://piwik.org
https://github.com/benhutchins/docker-piwik
Last synced: 2 months ago
JSON representation
Dockerized Piwik container, that actually configures everything. http://piwik.org
- Host: GitHub
- URL: https://github.com/benhutchins/docker-piwik
- Owner: benhutchins
- Archived: true
- Created: 2015-10-23T18:55:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-08T08:15:00.000Z (about 7 years ago)
- Last Synced: 2024-10-26T01:26:37.875Z (7 months ago)
- Language: Shell
- Homepage: https://hub.docker.com/r/benhutchins/piwik/
- Size: 15.6 KB
- Stars: 4
- Watchers: 3
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What is Piwik?
Piwik is an open-source web analytics platform, providing detailed reports of web traffic.
> [http://piwik.org/](http://piwik.org/)
# 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](https://hub.docker.com/_/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 \
mysqlYou'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](https://docs.docker.com/compose/install/), copy the `docker-compose.yml` from this repository and run:
docker-compose up