Commit 7b77e079 authored by Gezer's avatar Gezer
Browse files

added mqttx for debugging

parent 594f7de6
No related merge requests found
Showing with 13 additions and 1 deletion
+13 -1
...@@ -13,6 +13,11 @@ docker compose up // Startet des docker-compose.yaml in dem aktuellen Verzeichni ...@@ -13,6 +13,11 @@ docker compose up // Startet des docker-compose.yaml in dem aktuellen Verzeichni
dieses projekt anschauen: dieses projekt anschauen:
https://github.com/influxdata/iot-api-python https://github.com/influxdata/iot-api-python
Added MQTTX to Docker compose for debuging (http://localhost:8081/)
make a new Connection to Localhost (localhost) port should be 1883 for mqtt not entcrypted
than subscribe to the co2/# topic
and debug
Json Format für die Nachrichten Json Format für die Nachrichten
{ {
"metadata":{ "metadata":{
......
...@@ -53,6 +53,13 @@ services: ...@@ -53,6 +53,13 @@ services:
- "9001:9001" - "9001:9001"
stdin_open: true stdin_open: true
tty: true tty: true
mqttx-web:
image: emqx/mqttx-web
container_name: mqttx-web
ports:
- "8081:80" # Port 80 im Container auf 8081 lokal mappen
restart: unless-stopped
influxdb2: influxdb2:
image: influxdb:2 image: influxdb:2
...@@ -85,4 +92,4 @@ secrets: ...@@ -85,4 +92,4 @@ secrets:
file: ./services/influxdb/influxdb2-admin-token file: ./services/influxdb/influxdb2-admin-token
volumes: volumes:
influxdb2-data: influxdb2-data:
influxdb2-config: influxdb2-config:
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment