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
+2 -2
View File
@@ -50,8 +50,8 @@ services:
environment: environment:
- MQTT_BROKER=mosquitto:1883 - MQTT_BROKER=mosquitto:1883
- MQTT_TOPIC=lambdaiot - MQTT_TOPIC=lambdaiot
- MQTT_USERNAME=${MOSQ_USER} - MQTT_USERNAME=testuser
- MQTT_PASSWORD=${MOSQ_PASS} - MQTT_PASSWORD=testpass
command: sh -c "pip install paho-mqtt && python subscribe.py" command: sh -c "pip install paho-mqtt && python subscribe.py"
depends_on: depends_on:
- mosquitto - mosquitto