There are two different ideas that are not to be confused with each other. There is the Redis server itself, and then a component’s connection to Redis. The ‘SICRedis’ class is a component's connection to Redis. The Redis server itself is ran with the redis-server command and has a configuration defined in redis.conf.
Redis server
The IP can be set using export DB_IP=192.168.0.181
.
Defaults to localhost.SICRedis looks in environment for DB_IP and DB_PASS
DB_IP defaults to localhost and DB_PASS defaults to ‘changemeplease’
Messages and requests
A component can implement two callbacks, on_message()
and on_request()
.
...