Skip to content

apancutt/serverless-offline-redis-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-offline-redis-server

Run a local Redis server using Serverless Offline.

This plugin is intended for local development only, and is therefore only invoked on serverless offline start.

Installation

  1. Install the Redis server locally.

  2. Add this plugin as a dev dependency:

    # NPM
    npm install --save-dev serverless-offline-redis-server
    # Yarn
    yarn add -D serverless-offline-redis-server
  3. Add the plugin to your serverless.yml file:

    plugins:
        - serverless-offline-redis-server

Configuration

You can pass any configuration accepted by redis-server via the custom.redis property in your serverless.yml.

service: myservice
custom:
  redis:
    port: 8888

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published