It worked ! Thanks a lot 👍
How to configure redis as websocket store?
-
I have installed NodeBB with mongodb as database. How do I add Redis as websocket store?
-
Install redis and add a redis block to your config.json.
"redis": { "host":"127.0.0.1", "port":"6379", "username":"", "password":"", "database":"0" },
-
Thanks @baris. I had to install socket, socket.io-redis and connect-redis modules manually. This setup should probably be added to the docs.
-
@pichalite,
May you suggest command to install this modules? I'm novice. Thanks in advance. -
npm install socket socket.io-redis connect-redis