From 8d0b839c089d5bb0f4fdf60318b7859ef098fe99 Mon Sep 17 00:00:00 2001 From: lihongjie0209 Date: Tue, 1 Aug 2023 14:24:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84redis=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/dev/redis.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/dev/redis.conf b/docker/dev/redis.conf index e7b93523..a4c6208a 100644 --- a/docker/dev/redis.conf +++ b/docker/dev/redis.conf @@ -84,7 +84,7 @@ # You will also need to set a password unless you explicitly disable protected # mode. # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -bind 127.0.0.1 -::1 +bind 0.0.0.0 # By default, outgoing connections (from replica to master, from Sentinel to # instances, cluster bus, etc.) are not bound to a specific local address. In @@ -1033,7 +1033,7 @@ acllog-max-len 128 # The requirepass is not compatible with aclfile option and the ACL LOAD # command, these will cause requirepass to be ignored. # -# requirepass foobared +requirepass abc@123 # New users are initialized with restrictive permissions by default, via the # equivalent of this ACL rule 'off resetkeys -@all'. Starting with Redis 6.2, it