redis.sh
This commit is contained in:
parent
bbf5185803
commit
0b6a044e2c
|
@ -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 "拉取镜像"
|
||||
|
|
Loading…
Reference in New Issue
Block a user