An influxdb plug and play solution.
The many possible uses of an influxdb with the many supported protocols often leads to lengthy research and configuration. With this repository we want to make influxdb usable out of the box with different connectors.
You need to install docker and docker-compose for the system to work. Dont forget to set the docker command to work withou sudo.
You need to create credentials to initialize the telegraf and the default user. We suggest to passwords/tokens for the assigned user and the data client (telegraf), by
openssl rand -base64 32
and use these tokens inside the environment file (.env)
.
To start the influx database, the MQTT server and the connector (telegraf) we run
docker-compose --env-file ./.env up
- Adjust the configuration of the connector inside the
PROTOCOL/telegraf.conf
. - Run
docker-compose --env-file ./.env up influxdb influxdb_cli telegraf