aboutsummaryrefslogtreecommitdiff
path: root/internal/eclipse-mosquitto
diff options
context:
space:
mode:
Diffstat (limited to 'internal/eclipse-mosquitto')
-rw-r--r--internal/eclipse-mosquitto/compose.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/eclipse-mosquitto/compose.yaml b/internal/eclipse-mosquitto/compose.yaml
new file mode 100644
index 0000000..1d193f9
--- /dev/null
+++ b/internal/eclipse-mosquitto/compose.yaml
@@ -0,0 +1,14 @@
+name: eclipse-mosquitto
+version: '3.8'
+services:
+ eclipse-mosquitto:
+ image: eclipse-mosquitto
+ container_name: eclipse-mosquitto
+ volumes:
+ - "${ECLIPSE_MQTT_ROOT_PATH}:/mosquitto"
+ - "${ECLIPSE_MQTT_CONFIG_PATH}:/mosquitto/config"
+ - "${ECLIPSE_MQTT_DATA_PATH}:/mosquitto/data"
+ - "${ECLIPSE_MQTT_LOG_PATH}:/mosquitto/log"
+ ports:
+ - ${MQTT_LISTEN_PORT}:1883
+ - ${MQTT_WEBSOCKET_LISTEN_PORT}:9001