analytics

This commit is contained in:
Dziad Borowy
2023-01-04 11:54:22 +00:00
parent 3895fc2943
commit bf0da6932b
3 changed files with 187 additions and 0 deletions

48
apps/analytics/matomo.md Normal file
View File

@@ -0,0 +1,48 @@
# Matomo
## Overview
- no dark theme
- pretty complex
- can be private when setup that way
- lots of stats & metrics
<br>
- [Homepage](https://matomo.org)
- [Github repo](https://github.com/matomo-org/docker)
## `docker-compose.yml`
```yml
---
services:
db:
image: mariadb
command: --max-allowed-packet=64MB
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: matomo
MYSQL_USER: matomo
MYSQL_PASSWORD: matomo
MYSQL_DATABASE: matomo
MARIADB_AUTO_UPGRADE: 1
MARIADB_INITDB_SKIP_TZINFO: 1
volumes:
- ./db:/var/lib/mysql
app:
image: matomo
restart: unless-stopped
environment:
MATOMO_DATABASE_HOST: db
MATOMO_DATABASE_ADAPTER: mysql
MATOMO_DATABASE_TABLES_PREFIX:
MATOMO_DATABASE_USERNAME: matomo
MATOMO_DATABASE_PASSWORD: matomo
MATOMO_DATABASE_DBNAME: matomo
ports:
- 3000:80
volumes:
- ./data:/var/www/html
```