Version 3 (modified by 2 years ago) (diff) | ,
---|
MQTT with Redis
Ref here We can get the whole folder by file
- get the hash key with following command
krit@mini ~$ docker run -it docker-mosquitto-master_mosquitto np -p mypassword PBKDF2$sha256$901$9QuSsTtUWxCQZYN1$AqEXxC19zJcjcsaHUvSPzAIZA+zq0ccT
- get the ip address of redis-mosq docker by
krit@mini ~$ docker inspect redis-mosq
- add user to redis-mosq with command "set user password" as follow
krit@mini ~$ docker exec -it redis-mosq sh -c 'exec redis-cli -h "192.168.176.2" -p "6379"' 192.168.176.2:6379> set krit PBKDF2$sha256$901$9QuSsTtUWxCQZYN1$AqEXxC19zJcjcsaHUvSPzAIZA+zq0ccT 192.168.176.2:6379> quit
Attachments (1)
- docker-mosquitto-master.tar (50.0 KB) - added by 2 years ago.
Download all attachments as: .zip