Add: IOT using Mosquitto // Node red // InfluxDB // Grafana
File and folder permissions are a bitch. Also, will only leave access to grafana and remove the rest to be accessed using ssh tunnels
This commit is contained in:
24
iot/vars/default.yml
Normal file
24
iot/vars/default.yml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
host_directory: /var/lib/iot
|
||||
|
||||
mqtt_container: mosquitto
|
||||
mqtt_image: eclipse-mosquitto:latest
|
||||
mqtt_directory: "{{ host_directory }}/mosquitto"
|
||||
|
||||
nodered_container: nodered
|
||||
nodered_image: nodered/node-red:latest
|
||||
nodered_directory: "{{ host_directory }}/nodered"
|
||||
|
||||
influx_container: influxdb
|
||||
influx_image: influxdb:latest
|
||||
influx_directory: "{{ host_directory }}/influx"
|
||||
|
||||
grafana_container: grafana
|
||||
grafana_image: grafana/grafana-enterprise:latest
|
||||
grafana_directory: "{{ host_directory }}/grafana"
|
||||
|
||||
http_host: "iot.tanshu.com"
|
||||
http_conf: "iot.tanshu.com.conf"
|
||||
|
||||
user: 'www-data'
|
||||
mqtt_user: 'root'
|
||||
Reference in New Issue
Block a user