Changes between Version 6 and Version 7 of mqttredis
- Timestamp:
- 08/01/22 00:22:29 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
mqttredis
v6 v7 13 13 }}} 14 14 15 2. get the hash key with following command 15 2. chmod 666 to Logs/mosquitto.log for writable log file 16 17 3. get the hash key with following command 16 18 {{{ 17 19 krit@mini ~$ docker run -it docker-mosquitto-master_mosquitto np -p mypassword … … 19 21 }}} 20 22 21 3. get the ip address of redis-mosq docker by23 4. get the ip address of redis-mosq docker by 22 24 {{{ 23 25 krit@mini ~$ docker inspect redis-mosq 24 26 }}} 25 27 26 4. add user to redis-mosq with command "set user password" where password get from hash key as in step 228 5. add user to redis-mosq with command "set user password" where password get from hash key as in step 2 27 29 {{{ 28 30 krit@mini ~$ docker exec -it redis-mosq sh -c 'exec redis-cli -h "192.168.176.2" -p "6379"' … … 30 32 192.168.176.2:6379> quit 31 33 }}} 34