From a4fec975a665b6ebcb07fd7451e381f49f3c497a Mon Sep 17 00:00:00 2001 From: Matheus Date: Fri, 10 Oct 2025 23:22:52 -0300 Subject: fix:Não colocar credenciais no código MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (-_-) --- compose.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compose.yaml') 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" -- cgit v1.2.3