Using NodeDB need Redis also?
-
I am using nodeDB as backend, but the log file says:
3/12 04:18 [3306] - [32minfo[39m: Enabling 'trust proxy' 3/12 04:18 [3306] - [33mwarn[39m: [socket.io] Clustering detected, you are advised to configure Redis as a websocket store.
I am using the latest master branch and there is no way to add redis only for Socket.IO
Normando
-
Well, I add the redis settings and warning message goes off. This is my config.json. Tell me if this is correct:
# cat config.json { "port": ["xxxx0", "xxxx1"], "secret": "xxxxxxxx-7d4e-43c6-8b08-14403552b592", "database": "mongo", "mongo": { "host": "127.0.0.1", "port": "27017", "username": "xxx", "password": "xxx", "database": "xxx" }, "redis": { "host": "127.0.0.1", "port": "6379", "username": "", "password": "", "database": "0" }, "url": "http://xxxxxx.xxx.xx"
-
have the same issue, do I need redis if I use mongo?
-
How about config for use redis as proxy ?
Copyright © 2024 NodeBB | Contributors