A quickly written ruby script, pushing matomo stats to influxDB, running in Docker.
- Clone this repo and
cd
into it. - Create a file called
env
with the required variables (seeenv.example
). docker build -t matomo-to-influx -f ./Dockerfile .
docker run -d --env-file=./env matomo-to-influx
bundle install
# export the variables in your shell session
ruby app.rb