This repository enables developers to quickly and easily set up a local Matomo instance for testing and development purposes.
The configuration files in this repo are taken from the example found here, and the code here is licensed under the same GNU GPL v3 license as the original.
First add a .env file in the same directory as this compose.yml file with the following content.
MARIADB_PASSWORD=my_secure_password
MARIADB_ROOT_PASSWORD=my_root_password
Then run the following command to build and start the Docker container network. This creates a Matomo instance, a MySQL database, and an Nginx web server.
docker-compose up -dOnce the containers are running, visit http://localhost:8080 in your web browser to access the Matomo instance and register an account. If you are using Matomo Dev in combination with Angular, you might want to have a look at the RSL Info how-to page for further instructions.