{"id":18297,"library":"ember-cli-deploy-redis","title":"ember-cli-deploy-redis","description":"An Ember CLI Deploy plugin that uploads a file (typically index.html) to a Redis store. v4.0.0, released 2024-08-28, stable. Part of the ember-cli-deploy ecosystem, commonly used with S3 for lightning deployments. Supports Node 14+ and Rediss URLs. Compared to alternatives, it integrates tightly with ember-cli-deploy hooks and configuration.","status":"active","version":"4.0.0","language":"javascript","source_language":"en","source_url":"https://github.com/ember-cli-deploy/ember-cli-deploy-redis","tags":["javascript","ember-addon","ember-cli-deploy-plugin"],"install":[{"cmd":"npm install ember-cli-deploy-redis","lang":"bash","label":"npm"},{"cmd":"yarn add ember-cli-deploy-redis","lang":"bash","label":"yarn"},{"cmd":"pnpm add ember-cli-deploy-redis","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core dependency for deployment pipeline hooks","package":"ember-cli-deploy","optional":false},{"reason":"Redis client library","package":"redis","optional":false}],"imports":[{"note":"ESM-only since v4.0.0 (likely, check package.json).","wrong":"const redisDeployPlugin = require('ember-cli-deploy-redis')","symbol":"default","correct":"import redisDeployPlugin from 'ember-cli-deploy-redis'"},{"note":"Plugin key in deploy.js is 'redis'.","wrong":"ENV['ember-cli-deploy-redis'] = {}","symbol":"EmberAddon config","correct":"ENV.redis = { host: 'localhost', port: 6379 }"},{"note":"Plugin is not instantiated directly; pass config hash.","wrong":"new RedisPlugin(config)","symbol":"object config","correct":"const config = { host: 'localhost', port: 6379 }"}],"quickstart":{"code":"// config/deploy.js\nmodule.exports = function(deployTarget) {\n  let ENV = {\n    build: {},\n    redis: {\n      host: process.env.REDIS_HOST || 'localhost',\n      port: process.env.REDIS_PORT || 6379,\n      password: process.env.REDIS_PASSWORD || '',\n    },\n  };\n  if (deployTarget === 'production') {\n    ENV.redis.host = process.env.REDIS_HOST_PROD;\n  }\n  return ENV;\n};","lang":"javascript","description":"Configure ember-cli-deploy-redis plugin in deploy.js with host, port, password."},"warnings":[{"fix":"Update Node to >=14 and ensure ember-cli-deploy is compatible.","message":"v4.0.0 drops support for Node versions below 14 and updates dependencies, potentially breaking existing configurations.","severity":"breaking","affected_versions":"<4.0.0"},{"fix":"Upgrade Node to >=12.","message":"v3.0.0 dropped support for Node < 12.","severity":"breaking","affected_versions":"<3.0.0"},{"fix":"Upgrade Node to >=10.","message":"v2.0.0 dropped support for Node < 10.","severity":"breaking","affected_versions":"<2.0.0"},{"fix":"Set filePattern to a glob pattern (not supported by default) or use separate plugin instances.","message":"The plugin uploads only one file by default (filePattern: 'index.html'). If you need to upload multiple files, you must configure multiple plugins or a custom adapter.","severity":"gotcha","affected_versions":"all"},{"fix":"Use 'rediss://' URL format and set redisOptions.tls if needed.","message":"Using url with rediss:// protocol requires TLS support; ensure redis library v3+ is installed.","severity":"gotcha","affected_versions":">=3.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Ensure the plugin runs within an ember-cli-deploy context, or provide keyPrefix manually.","cause":"Deployment context missing project.name(), often in non-EmberCLI usage.","error":"TypeError: Cannot read property 'name' of undefined"},{"fix":"Check password configuration in deploy.js or environment variable.","cause":"Redis authentication failed.","error":"ReplyError: WRONGPASS invalid username-password pair"},{"fix":"Start Redis server or update host/port configuration.","cause":"Redis server not running on the specified host/port.","error":"Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}