summaryrefslogtreecommitdiff
path: root/compose.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'compose.yaml')
-rw-r--r--compose.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/compose.yaml b/compose.yaml
index f56c1d2..4e4def4 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -18,6 +18,9 @@ services:
source: ./mosquitto-config/
target: /mosquitto/config/
mqtt-client:
+ environment:
+ MQTT_CLIENT_USER: ${MQTT_CLIENT_USER}
+ MQTT_CLIENT_PASSWORD: ${MQTT_CLIENT_PASSWORD}
build:
context: ./mqtt_client/
network_mode: "service:mosquitto"