saltdon / matomo_docker

A docker compose to try out Matomo.

Home Page:https://luongbui.com/a-docker-compose-to-try-out-matomo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A docker compose to try out Matomo.

https://luongbui.com/a-docker-compose-to-try-out-matomo/