Docker/run/all.sh
This commit is contained in:
parent
d02b346afe
commit
16da281be0
|
@ -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 "拉取镜像"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user