diff options
-rw-r--r-- | docker-compose.yml | 11 | ||||
-rw-r--r-- | mqtt-client/requirements.txt | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 1c4da89..4100d7f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -50,6 +50,17 @@ services: volumes: - ./switch-snmp/port-names.conf:/app/port-names.conf + grafana: + image: grafana/grafana:8.5.27 + ports: + - 3000:3000 + depends_on: + - influxdb + restart: unless-stopped + volumes: + - grafana:/var/lib/grafana + volumes: mosquitto-data: mosquitto-logs: + grafana: diff --git a/mqtt-client/requirements.txt b/mqtt-client/requirements.txt index 2532957..ac151c7 100644 --- a/mqtt-client/requirements.txt +++ b/mqtt-client/requirements.txt @@ -1,3 +1,3 @@ -paho-mqtt +paho-mqtt==1.6.1 python-dotenv influxdb-client |