A compose stack containing a Matomo, MySQL and a web page for generating visits.
- docker
- docker-compose
- Clone the repo
- Run
docker-compose up
- Go to http://localhost
- Click through the setup guide (Note: the MySQL settings should be pre-filled)
- Login to Matomo
- Copy your tracking code to
test-web/index.html
- Run
docker-compose -f docker-compose.test.yaml up
- Go to http://localhost
- Now, you should see a visit in Matomo
Happy tracking!
The compose stack will create two volumes where Matomo and MySQL data are saved respectively.
# Remove all configuration
docker volume rm matomo_matomo-local-files
# Remove all data from MySQL
docker volume rm matomo_matomo-local-data