- Download the project
- Create
.env
file in the main project directory using the provided.env.example
.- Set proper values for Influx DB configuration.
- Set proper credentials for MQTT server (mosquitto).
echo -n "" > users
Check that the file is updated:docker run --rm -v `pwd`/mosquitto.conf:/mosquitto/config/mosquitto.conf \ -v `pwd`/users:/mosquitto/config/users eclipse-mosquitto \ mosquitto_passwd -b /mosquitto/config/users <USER> <PASSWORD>
deployment/users.conf
- Run
docker-compose up
https://docs.influxdata.com/influxdb/v1.4/introduction/installation/