Public Access
test: set subscriber credentials explicitly to match mosquitto testuser/testpass
This commit is contained in:
1 parent
0055a852bb
commit
7b3d78dec2
1 file changed
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user