summaryrefslogtreecommitdiff
path: root/compose.yaml
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-10-10 23:22:52 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-10-10 23:22:52 -0300
commita4fec975a665b6ebcb07fd7451e381f49f3c497a (patch)
treeadce02e32102a13c00ea25dea33ce06059654f74 /compose.yaml
parent22935fae60b6ab2040596d4a78d1812e2a16589e (diff)
fix:Não colocar credenciais no código
(-_-)
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"