MQTT aufgesetzt
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
|||||||
|
services:
|
||||||
|
eclipse-mosquitto:
|
||||||
|
labels:
|
||||||
|
com.hanold.environment: production
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 64M
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
ports:
|
||||||
|
- 9883:1883
|
||||||
|
volumes:
|
||||||
|
- ./config:/mosquitto/config
|
||||||
|
- ./data:/mosquitto/data
|
||||||
|
- ./log:/mosquitto/log
|
||||||
|
image: eclipse-mosquitto:latest
|
||||||
|
container_name: mqtt
|
||||||
|
networks: {}
|
||||||
Executable
+8
@@ -0,0 +1,8 @@
|
|||||||
|
persistence true
|
||||||
|
persistence_location /mosquitto/data/
|
||||||
|
|
||||||
|
log_dest file /mosquitto/log/mosquitto.log
|
||||||
|
log_dest stdout
|
||||||
|
|
||||||
|
listener 1883
|
||||||
|
allow_anonymous true
|
||||||
Reference in New Issue
Block a user