mirror of
https://github.com/skalavala/mysmarthome.git
synced 2025-08-21 04:33:22 +00:00
Back Alive!
This commit is contained in:
12
docker/mqtt.docker
Executable file
12
docker/mqtt.docker
Executable file
@@ -0,0 +1,12 @@
|
||||
Step 1:
|
||||
Copy /etc/mosquitto/conf.d/mosquitto.conf to /home/suresh/docker/mqtt/config/ directory
|
||||
Copy /etc/mosquitto/passwd to /mqtt/config directory
|
||||
|
||||
Step 2:
|
||||
Run `sudo chown mosquitto:mosquitto mosquitto.conf`
|
||||
|
||||
Step 3:
|
||||
Edit mosquitto.conf and set the passwd file path to /mqtt/config file
|
||||
|
||||
# Run the following command
|
||||
docker run -it -p 1883:1883 -p 9001:9001 -v /home/suresh/docker/mqtt/config:/mosquitto/config/ eclipse-mosquitto:latest
|
Reference in New Issue
Block a user