From e3b6d7d320aef3b9d9a75c0a01acb87396ceb7b4 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Sun, 28 Mar 2021 22:03:30 +1300 Subject: [PATCH] Add mosquitto config --- docker-compose.yml | 2 ++ mosquitto.conf | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 mosquitto.conf diff --git a/docker-compose.yml b/docker-compose.yml index a6313d7..f9aad95 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,6 +30,8 @@ services: image: eclipse-mosquitto ports: - 1883:1883 + volumes: + - ./mosquitto.conf:/mosquitto/config/mosquitto.conf grafana: container_name: grafana diff --git a/mosquitto.conf b/mosquitto.conf new file mode 100644 index 0000000..99cf9c1 --- /dev/null +++ b/mosquitto.conf @@ -0,0 +1,2 @@ +listener 1883 0.0.0.0 +allow_anonymous true \ No newline at end of file