redis.sh
This commit is contained in:
parent
bbf5185803
commit
0b6a044e2c
|
@ -21,10 +21,10 @@ mkdir -p /opt/docker-run/redis/conf
|
||||||
echo "创建Redis配置文件"
|
echo "创建Redis配置文件"
|
||||||
touch /opt/docker-run/redis/conf/redis.conf
|
touch /opt/docker-run/redis/conf/redis.conf
|
||||||
tee /opt/docker-run/redis/conf/redis.conf <<-'EOF'
|
tee /opt/docker-run/redis/conf/redis.conf <<-'EOF'
|
||||||
bind $host
|
bind \$host
|
||||||
daemonize NO
|
daemonize NO
|
||||||
protected-mode no
|
protected-mode no
|
||||||
requirepass $password
|
requirepass \$password
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "拉取镜像"
|
echo "拉取镜像"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user