From 29678e712dd87736dc30cc2a6d6ac1c818320b4e Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 6 Sep 2024 00:34:24 +0200 Subject: [PATCH] chore: add compose file for testing --- docker-compose.yml | 10 ++++++++++ mosquitto/mosquitto.conf | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 docker-compose.yml create mode 100644 mosquitto/mosquitto.conf diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..4182e87 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +--- + +services: + mosquitto: + image: eclipse-mosquitto:2-openssl + restart: unless-stopped + ports: + - 1883:1883 + volumes: + - ./mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf:ro diff --git a/mosquitto/mosquitto.conf b/mosquitto/mosquitto.conf new file mode 100644 index 0000000..76c1e95 --- /dev/null +++ b/mosquitto/mosquitto.conf @@ -0,0 +1,2 @@ +allow_anonymous true +listener 1883