brobbot-redis-brain
v3.0.6
Published
Redis-backed brain for brobbot
Downloads
6
Readme
brobbot-redis-brain
A redis-backed brain for brobbot.
Usage
In your brobbot-instance:
npm install --save brobbot-redis-brain
./index.sh -b redis
Configuration
URL
Use one of the following environment variables to set the Redis URL:
REDISTOGO_URL
REDISCLOUD_URL
BOXEN_REDIS_URL
REDIS_URL
REDISTOGO_URL=redis://user:password@localhost:port ./index.sh -b redis
Data key prefix
Set BROBBOT_REDIS_DATA_PREFIX
to change the default key prefix ('data:'
).
BROBBOT_REDIS_DATA_PREFIX=brobbot-data: ./index.sh -b redis