From 0b6a044e2cb365ce33b0be0d00e6142b807892e5 Mon Sep 17 00:00:00 2001 From: ZhuoQinghui <1302344380@qq.com> Date: Thu, 3 Mar 2022 14:09:06 +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 63819c1..d800a4a 100644 --- a/Docker/run/redis.sh +++ b/Docker/run/redis.sh @@ -21,10 +21,10 @@ mkdir -p /opt/docker-run/redis/conf echo "创建Redis配置文件" touch /opt/docker-run/redis/conf/redis.conf tee /opt/docker-run/redis/conf/redis.conf <<-'EOF' -bind $host +bind \$host daemonize NO protected-mode no -requirepass $password +requirepass \$password EOF echo "拉取镜像"