20 lines
387 B
Markdown
20 lines
387 B
Markdown
|
|
# mqtt-logger
|
|
|
|
## Run
|
|
|
|
|
|
```shell
|
|
docker run \
|
|
-d \
|
|
-p 8883:8883 \
|
|
-v /srv/mqtt_logger/conf.d/:/etc/mosquitto \
|
|
-v /srv/mqtt_logger/mqtt:/var/log/mqtt \
|
|
-v /etc/letsencrypt/live/mqtt.blackfinn.de:/etc/letsencrypt/live/mqtt.blackfinn.de \
|
|
-v /etc/letsencrypt/archive/mqtt.blackfinn.de:/etc/letsencrypt/archive/mqtt.blackfinn.de \
|
|
--name mqtt-logger \
|
|
--restart always \
|
|
mqtt-logger
|
|
```
|
|
|