CoreID/config/redis.config.js

19 lines
490 B
JavaScript
Raw Normal View History

/*
* Configuration for Flitter-Redis.
* You can access the IORedis instance on the redis service:
* app.di().service('redis').client()
*/
const redis_config = {
// How to connect to the server
// See IORedis docs for config options:
// https://github.com/luin/ioredis#connect-to-redis
server: {
host: env('REDIS_HOST', 'localhost'),
2022-06-26 01:55:06 +00:00
password: env('REDIS_PASS'),
port: env('REDIS_PORT', 6379),
},
}
module.exports = exports = redis_config