From 0fd310d7cad6d8face5ac64dd8b51f98179a38b8 Mon Sep 17 00:00:00 2001 From: tkl Date: Thu, 28 Feb 2019 10:05:57 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 25289a0..8fcf5ec 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,16 @@ ## Run -```sh -docker run -d -p 1883:1883 -p 8883:8883 -v /srv/mqtt_logger/mqtt:/var/log/mqtt --name mqtt-logger --restart always mqtt-logger +```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 ```