From d08a859bea654da8086b6899559c0e436f5be1f0 Mon Sep 17 00:00:00 2001 From: hoanbc Date: Mon, 25 Sep 2023 13:41:28 +0700 Subject: [PATCH] Add config sentinel auth-pass to entrypoint-sentinel.sh Signed-off-by: hoanbc --- entrypoint-sentinel.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint-sentinel.sh b/entrypoint-sentinel.sh index efa5f7e..8574c0c 100755 --- a/entrypoint-sentinel.sh +++ b/entrypoint-sentinel.sh @@ -37,6 +37,7 @@ set_sentinel_password() { { echo masterauth "${REDIS_PASSWORD}" echo requirepass "${REDIS_PASSWORD}" + echo sentinel auth-pass "${MASTER_GROUP_NAME} ${REDIS_PASSWORD}" echo protected-mode yes } >> /etc/redis/sentinel.conf fi