Feat: add cleaninsights role

This commit is contained in:
Ana Custura 2025-08-08 12:00:26 +01:00
parent 051c1ab57f
commit bf6ed83fd6
10 changed files with 281 additions and 0 deletions

View file

@ -0,0 +1,23 @@
[Unit]
Requires=mysql.service
After=mysql.service
Requires=redis.service
After=redis.service
[Container]
ContainerName=matomo
Environment=MATOMO_DATABASE_HOST=mysql
Environment=PHP_MEMORY_LIMIT={{ podman_cleaninsights_php_memory_limit }}
Environment=MATOMO_DATABASE_DBNAME={{ podman_cleaninsights_mysql_database }}
Environment=MATOMO_DATABASE_PASSWORD={{ podman_cleaninsights_mysql_password }}
Environment=MATOMO_DATABASE_USERNAME={{ podman_cleaninsights_mysql_user }}
Image=docker.io/matomo:5-fpm
Volume=/home/{{ podman_cleaninsights_podman_rootless_user }}/matomo:/var/www/html
#Volume=/home/{{ podman_cleaninsights_podman_rootless_user }}/cleaninsights.php:/var/www/html/cleaninsights.php:ro
#Volume=/home/{{ podman_cleaninsights_podman_rootless_user }}/cleaninsights.ini:/var/www/html/cleaninsights.ini:ro
Network=cleaninsights.network
Network=frontend.network
[Service]
Restart=always
Slice=cleaninsights.slice