Skip to content

manhluong/matomo_docker

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
x86
 
 
 
 
 
 
 
 

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