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