Configure Redis

Workarea uses an instance of the Redis client, provided by redis-rb, to talk to Redis.

Workarea automatically configures Redis, loading the first present config in the following order:

  1. A hash found at Workarea.config.redis
  2. A hash found at Rails.application.secrets.redis
  3. The following environment variables WORKAREA_REDIS_HOST, WORKAREA_REDIS_PORT, WORKAREA_REDIS_NAMESPACE
  4. The following default values:
    • Host: localhost
    • Port: 6379
    • Namespace: workarea