Let’s assume that we have a lot of sensors publishing structured data to an MQTT broker and we want to store this data in a database. A simple way to do that is to use Telegraf (tool from InfluxData) to consume and process the data and store it in an InfluxDB database. In this tutorial, I will explain how to prepare this setup using docker-compose.
This post is part of a series of a simple networking scanning tool named PortScraper. I will explain how to embed the application into Docker image and how to prepare the setup (PortScraper + MariaDB) with docker-compose.