This is the Docker Compose configuration for EQAR's Matomo instance.
It uses the PHP-FPM based official image combined with an Nginx as reverse proxy.
Updating the Docker images will not update the Matomo instance actually running. Nevertheless, running
docker compose pull
docker compose build # from cron image
docker compose up -d
will keep the images, MariaDB and Nginx up-to-date.
After this, use built-in (web-based) upgrader to actually upgrade Matomo - as part of this, run the database upgrade as:
docker compose run --rm -u www-data app php /var/www/html/console core:update
Update the major version numbers in the Matomo or MariaDB images, respectively.
Important: Matomo version needs to be updated in docker-compose.yml and in cron/Dockerfile