From bbf5185803587f351e6e4014acb5e56375e99714 Mon Sep 17 00:00:00 2001 From: ZhuoQinghui <1302344380@qq.com> Date: Thu, 3 Mar 2022 14:04:59 +0800 Subject: [PATCH] redis.sh --- Docker/run/redis.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Docker/run/redis.sh b/Docker/run/redis.sh index 69d597b..63819c1 100644 --- a/Docker/run/redis.sh +++ b/Docker/run/redis.sh @@ -8,10 +8,10 @@ redisName=${redisName:-redis} read -r -p "请输入外部访问端口号(默认: 6379): " port port=${port:-6379} -read -r -p "请输入绑定的IP地址: " host +read -r -p "请输入绑定的IP地址(默认: 0.0.0.0): " host host=${host:-"0.0.0.0"} -read -r -p "请输入绑定的IP地址: " password +read -r -p "请输入密码(默认: 123456): " password password=${password:-"123456"} echo "创建脚本存放目录和数据"