This is for runnning Matomo to test locally.
In the docker-compose file, the following environment variables has default values:
MYSQL_ROOT_PASSWORDMYSQL_DATABASEMYSQL_USERMYSQL_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