Docker/run/all.sh

This commit is contained in:
ZhuoQinghui 2022-03-03 14:54:02 +08:00
parent d02b346afe
commit 16da281be0

View File

@ -32,10 +32,10 @@ echo "清空旧配置"
cat /dev/null > /opt/docker-run/$redisName/conf/redis.conf cat /dev/null > /opt/docker-run/$redisName/conf/redis.conf
echo "写入新配置" echo "写入新配置"
cat <<EOF >> /opt/docker-run/$redisName/conf/redis.conf cat <<EOF >> /opt/docker-run/$redisName/conf/redis.conf
bind $host bind $redisHost
daemonize NO daemonize NO
protected-mode no protected-mode no
requirepass $password requirepass $redisPassword
EOF EOF
echo "拉取镜像" echo "拉取镜像"