Update 'README.md'
This commit is contained in:
parent
88ebe37d60
commit
0fd310d7ca
13
README.md
13
README.md
@ -4,7 +4,16 @@
|
|||||||
## Run
|
## Run
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```shell
|
||||||
docker run -d -p 1883:1883 -p 8883:8883 -v /srv/mqtt_logger/mqtt:/var/log/mqtt --name mqtt-logger --restart always mqtt-logger
|
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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user