feat: Add Matomo Chart for analytics

Also adds the Digitalist Chart as Backup in case the
bitnami one stops working.
This commit is contained in:
2025-09-11 10:25:17 +02:00
parent e427af50ce
commit 8f46e45cfb
40 changed files with 3733 additions and 16 deletions
@@ -0,0 +1,30 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: matomo-supervisor-tracker
namespace: {{.Values.namespace}}
data:
regenerate-matomo-js.ini: |
[unix_http_server]
file = /home/www-data/supervisord.sock
[program:php-fpm]
priority=1
process_name=%(program_name)s_%(process_num)02d
command=php-fpm
autostart=true
autorestart=true
user=www-data
redirect_stderr=true
stdout_events_enabled=true
stderr_events_enabled=true
startretries=100
[program:regenerate-matomo-js]
priority=2
process_name=%(program_name)s_%(process_num)02d
command=sh -c 'while ( php /var/www/html/console custom-matomo-js:update && php /var/www/html/console tagmanager:regenerate-released-containers );do sleep 120; done'
autostart=true
autorestart=true
user=www-data
redirect_stderr=true
stdout_events_enabled=true
stderr_events_enabled=true