This package has been deprecated

Author message:

This addon is only compatible with ember-cli-deploy versions < 0.5.0 and deprecated in favor of ember-cli-deploy-redis. Please consider upgrading to an up to date version of ember-cli-deploy when using in production

ember-deploy-redis

0.0.7 • Public • Published

Ember-deploy-redis Build Status

This is the redis-adapter implementation to use Redis with ember-deploy.

Securely deploying your app

If your redis instance is isolated in a local intranet for security purposes, there is an option to open a SSH tunnel to the redis instance. To configure your ssh tunnel, provide the configuration in your environment.

Deploying to a local machine

module.exports = {
  development: {
    buildEnv: 'production',
    store: {
      type: 'redis',
      host: '10.12.0.0',
      port: 6379
    }
  }
};

Deploying to external machine (reachable through ssh)

The ssh object will pass directly to tunnel-ssh so you can add any options to configure the tunnel destination host (dstHost) and port (dstPort), useful for instances where the default localhost isn't where your redis lives.

module.exports = {
  development: {
    buildEnv: 'production',
    store: {
      type: 'redis',
      ssh: {
        host: 'ember-deploy-redis.com',
        username: 'deploy',
        privateKey: '~/.ssh/id_rsa',
        dstPort: 6379, // redis port
        dstHost: 'localhost' // redis host
      }
    }
  }
};

Note that the privateKey is a path to the SSH private key to access the machine that your redis instance is on, not a full blown key.

Package Sidebar

Install

npm i ember-deploy-redis

Weekly Downloads

3

Version

0.0.7

License

MIT

Last publish

Collaborators

  • levelbossmike