aprice- / redisclustercompose

Redis cluster using docker compose compatible with --scale argument
64 stars 28 forks source link

Nodes don't discover each other on OSX #6

Open stevemenke opened 5 years ago

stevemenke commented 5 years ago

I am trying to use the docker-compose --scale 3 to create a redis node to test ratelimitj. The nodes launch but they don't seem to form a cluster. They all think they are the master. I am on a Mac so I suppose it is networking related. Do you have any work arounds? Thanks.

18609170116 commented 5 years ago

i have the same issue, my environment is win10 docker, can anyone help??

semistone commented 5 years ago

mac doesn't have docker ip address 192.168.65.3 is docker's ip I could use by sudo ifconfig lo0 alias 192.168.65.3