0.2.2 • Published 6 years ago
mup-redis v0.2.2
mup-redis
Plugin for Meteor Up to setup and run Redis. Redis is run with --appendonly yes for persistance.
Use
Install with npm i -g mup-redis.
Then, add to the plugins array in your mup config, and add a redis object.
module.exports = {
// rest of config
plugins: ['mup-redis'],
redis: {
// Server to run redis on.
servers: { one: {} },
// Version of redis. Add '-alpine' to use a much smaller docker image
version: '3.2.10-alpine'
}
}Next, run
mup setup
mup reconfigRedis adds the environment variable REDIS_URL to the app. You cannot access redis from outside the server.
Commands
mup redis setupmup redis startmup redis stopmup redis logsView redis logs. Supports the same arguments asmup logs, including--tailand--follow.