aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2023-11-19 15:53:09 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2023-11-19 15:53:09 +0000
commit224c7385c9f2c0eafd7751bf8e100ab5d8c52345 (patch)
treee19c4ba8deabfd4132230792b17eeb56e6e93802 /docker-compose.yml
parent408fa00f2387d19995e078c66d8e3d1c75f473f1 (diff)
downloadpower.eda.gay-224c7385c9f2c0eafd7751bf8e100ab5d8c52345.tar.gz
power.eda.gay-224c7385c9f2c0eafd7751bf8e100ab5d8c52345.zip
Added MQTT broker, some instructions
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..daaeb5c
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,17 @@
+version: "3"
+
+services:
+ mqtt:
+ image: eclipse-mosquitto
+ ports:
+ - 1883:1883
+ - 9001:9001
+ volumes:
+ - ./mosquitto.conf:/mosquitto/config/mosquitto.conf
+ - ./.passwords://mosquitto/passwd_file
+ - mosquitto-data:/mosquitto/data
+ - mosquitto-logs:/mosquitto/log
+
+volumes:
+ mosquitto-data:
+ mosquitto-logs: