That's a great idea! Maybe one of the feed aggregating search engines can do this. Feeds often come with publisher emails so it should be possible to automate.
I wish they had a simple Docker image available with everything setup and configurable from a single file. The installation process is complex and under documented, IMHO. But the software is pretty nice!
Why do you need Docker for a simple PHP & MySQL script? To install it you just need to setup a MySQL database and enter the credentials in the setup script. Finally, add the tracking code to your site, but that's the same for every analytics engine.
And you also need to set up a bunch of things in your web server, add the cron jobs, run the update script and hope everything still works afterwards etc.
Relay is built on Mattermost team edition so it has all the team edition features. It plans to add new features as per user feedback which will be contributed upstream to Mattermost.