Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

mup-redis

0.2.1 • Public • Published

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 reconfig

Redis adds the environment variable REDIS_URL to the app. You cannot access redis from outside the server.

Commands

  • mup redis setup
  • mup redis start
  • mup redis stop
  • mup redis logs View redis logs. Supports the same arguments as mup logs, including --tail and --follow.

install

npm i mup-redis

Downloadsweekly downloads

6

version

0.2.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar