Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
database

GitHub Action

Redis Cluster with Master-Slave

1.0.1

Redis Cluster with Master-Slave

database

Redis Cluster with Master-Slave

Setup Redis cluster with 3 master and 3 slave in a single container

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Redis Cluster with Master-Slave

uses: vishnudxb/redis-cluster@1.0.1

Learn more about this action in vishnudxb/redis-cluster

Choose a version

Redis Cluster GitHub Action

This GitHub Action sets up Redis cluster with 3 master and 3 slave in a single container for your testing purpose.

The image used is from https://github.com/vishnudxb/docker-redis-cluster

Usage

See action.yml

Basic:

steps:
- uses: vishnudxb/redis-cluster@1.0.0
  with:
    master1-port: '5000'
    master2-port: '5001'
    master3-port: '5002'
    slave1-port: '5003'
    slave2-port: '5003'
    slave3-port: '5004'

License

The scripts and documentation in this project are released under the MIT License