Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Launch Redis cluster via docker-compose for dev. purpose

Notifications You must be signed in to change notification settings

spin/redis-cluster-local-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Launch Redis cluster via docker-compose for local development purpose

This repo is cloned from: https://github.com/yowko/docker-compose-redis-cluster, here're some changes to fit my own needs:

  1. Upgrade Redis version by using image 6.0.7-alpine
  2. Simplify the usage by removing the master/slave password (CAUTION: DO NOT USE IT ON PRODUCTION ENVIRONMENT)

Prerequisites

  • docker
  • docker-compose

Usage

Start Redis cluster

ip=$(ipconfig getifaddr en0) docker-compose up -d --build

The redis cluster will be ready on 127.0.0.1:7000

Stop Redis cluster

 docker-compose down -v

About

Launch Redis cluster via docker-compose for dev. purpose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published