Re:Matomo: Open-source analytics platform
by cxcorp on Wednesday January 06, 2021 @08:49AM
(#25657669)
It was pretty easy to get up and running with Docker Compose:
version: '3'
services:
mysql:
image: mysql:8
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: matomo
matomo:
image: matomo:4
ports:
- 4000:80
This lets me in at localhost:4000 and I just enter "mysql" as the DB host, "root" as the username & password and "matomo" as the database name, and it's basically done.Of course, I probably have to point it out or someone else will, that it's a bad idea to be using the MySQL root user, instead of creating a user with the rights that Matomo needs: https://matomo.org/faq/how-to-install/faq_23484/
Re:Matomo: Open-source analytics platform
by typhonius on Wednesday January 06, 2021 @06:47AM
(#25656857)
I’ve found that using geerlingguy’s Ansible roles for MySQL, Nginx, and PHP, most random PHP applications can be deployed with default configuration. I’ve had them in production with Matomo for the past year or so and had no problems so far.
A lot of the challenges faced with a ‘from scratch’ install will revolve around which PHP version and extensions to install and how to get Nginx to talk to FPM. Neither of which are trivial for someone wanting to test/evaluate without much prior knowledge.
Re:Matomo: Open-source analytics platform
by crstin on Wednesday January 06, 2021 @10:11AM
(#25658398)
I've did some research a while ago and found that https://github.com/crazy-max/docker-matomo dockerizes it the best.
It's kind of my job to take random apps, deploy them and manage properly, so I'm not a clueless user here. I could press on and figure it out with more time, and I understand they'd be happy with people using the cloud offering / paid support instead. But I also feel like a working docker-compose (or comparable) setup is table stakes these days for an open-source service.
See Loki+Grafana for a good example: https://grafana.com/docs/loki/latest/installation/docker/#in... - it's not a production setup, but it's a valid "play around with it in 2min" setup.