test: set subscriber credentials explicitly to match mosquitto testuser/testpass

This commit is contained in:
2025-12-28 16:02:46 +01:00
parent 0055a852bb
commit 7b3d78dec2

View File

@@ -50,8 +50,8 @@ services:
environment:
- MQTT_BROKER=mosquitto:1883
- MQTT_TOPIC=lambdaiot
- MQTT_USERNAME=${MOSQ_USER}
- MQTT_PASSWORD=${MOSQ_PASS}
- MQTT_USERNAME=testuser
- MQTT_PASSWORD=testpass
command: sh -c "pip install paho-mqtt && python subscribe.py"
depends_on:
- mosquitto