From d20c1f50559f3b3254babb1a2ea2cd5cf288bcdf Mon Sep 17 00:00:00 2001 From: Raymond Bourges Date: Mon, 26 May 2025 11:57:39 +0200 Subject: [PATCH] =?UTF-8?q?FEAT=20:=20port=20non=20SSL=20ferm=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mqtt/compose.yml | 1 - notes.md | 12 +++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/mqtt/compose.yml b/mqtt/compose.yml index 9083ddd..da25c3c 100644 --- a/mqtt/compose.yml +++ b/mqtt/compose.yml @@ -5,5 +5,4 @@ services: volumes: - ./config:/mosquitto/config ports: - - 1883:1883 - 8883:8883 diff --git a/notes.md b/notes.md index 0f79130..0b4e147 100644 --- a/notes.md +++ b/notes.md @@ -40,7 +40,13 @@ docker run -it --rm -v /tmp:/mosquitto/config eclipse-mosquitto mosquitto_passwd ### lire topic ``` -docker run --add-host host.docker.internal:host-gateway -it eclipse-mosquitto mosquitto_sub \ --u -P \ --h host.docker.internal -p 1883 -t "rbo2" +docker run -it --rm \ + -v ./config:/mosquitto/config \ + eclipse-mosquitto mosquitto_sub \ + -h pc-raymond.home \ + -p 8883 \ + --cafile /mosquitto/config/ssl/mosquitto.crt \ + -u -P \ + -t rbo2 \ + -v ``` \ No newline at end of file