Skip to content

manhluong/matomo_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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