'use strict';

module.exports = require('redis').createClient(6379, 'redis');

'use strict';

const redisHostname = process.env.REDIS_HOSTNAME
  ? process.env.REDIS_HOSTNAME
  : 'redis';

module.exports = require('redis').createClient(6379, redisHostname);

enable redis hostname to be set through env variable