Grokzen / Grokzen/docker-redis-cluster

expect 1 Master 2 Slaves with sentinel instead 3 Masters

Open
#87 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.5k
Forks
558
PR merge metrics
No merged PRs in 30d

Description

I used this configuration below to create a cluster with 1 master 2 slave with 3 sentinels, but it keeps creating 3 master with no slave attached, what did I do wrong here,
```
version: '2'
services:
redis-cluster:
environment:
IP: '0.0.0.0'
SENTINEL: 'true'
MASTERS: 1
SLAVES_PER_MASTER: 2
build:
context: .
args:
redis_version: '5.0.5'
hostname: server
ports:
- '7000-7050:7000-7050'
- '5000-5010:5000-5010'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.