A docker compose to try out Matomo.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
arm32v7
matomo
x86
.env
.gitignore
README.md

README.md

What is this for?

This is for runnning Matomo to test locally.

How to run with docker-compose

In the docker-compose file, the following environment variables has default values:

  • MYSQL_ROOT_PASSWORD
  • MYSQL_DATABASE
  • MYSQL_USER
  • MYSQL_PASSWORD

There is also a .env file in the root folder.

Run from the root folder:

docker-compose -f x86/docker-compose.yml --project-director ./matomo up --remove-orphans

The default address is http://localhost:8080

At the step to setup the database, as server name, use matomo_database or whatever it is set in the docker-compose.yml as database service.

There is also a phpmyadmin service to check the database at http://localhost:9090