Skip to content
Snippets Groups Projects
Verified Commit 2b9679da authored by Martin Abbrent's avatar Martin Abbrent :bicyclist_tone4:
Browse files

Add mqtt-caat service for debugging mqtt messages

parent 77a6b912
No related branches found
No related tags found
1 merge request!3Resolve "Add mqtt service to docker compose"
......@@ -10,3 +10,5 @@ MINIO_ROOT_USER=minioadmin
MINIO_ROOT_PASSWORD=minioadmin
KAFKA_PORT=127.0.0.1:9092
MOSQUITTO_PORT=127.0.0.1:1883
MQTT_USER=testUser
MQTT_PASSWORD=password
......@@ -179,3 +179,20 @@ services:
- "${MOSQUITTO_PORT:-127.0.0.1:1883}:1883"
volumes:
- ./mosquitto:/mosquitto/config
mqtt-cat:
restart: ${RESTART:-on-failure}
image: eclipse-mosquitto:latest
command:
- mosquitto_sub
- -h
- mqtt-broker
- --pretty
- -u
- ${MQTT_USER:?Please define a mqtt user!}
- -P
- ${MQTT_PASSWORD:?Please define a mqtt password!}
- -t
- minio-bucket-notifications
- -t
- thing_created
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment