rubyangxg hace 4 años
padre
commit
56b7d0e62b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      docker-redis-sentinel-master/sentinel/sentinel.conf

+ 2 - 0
docker-redis-sentinel-master/sentinel/sentinel.conf

@@ -2,6 +2,8 @@ port 26379
 
 dir /tmp
 
+sentinel announce-ip $HOST_IP
+
 sentinel monitor $SENTINEL_NAME $HOST_IP 6479 $SENTINEL_QUORUM
 
 sentinel down-after-milliseconds $SENTINEL_NAME $SENTINEL_DOWN_AFTER