Skip to content

Commit 05b88d8

Browse files
authored
add cdn
1 parent bdd6fc3 commit 05b88d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reader.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fi
6363
install_dockercompose() {
6464
if [[ x"${release}" == x"centos" ]]; then
6565
yum update && yum install wget curl docker -y
66-
curl -L "https://ghproxy.com/https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose
66+
curl -L "https://ghproxy.com/https://ghproxy.com/https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose
6767
else
6868
apt update && apt install wget curl docker-compose -y
6969
fi
@@ -125,4 +125,4 @@ getIpaddr
125125
echo -e "${green}初步部署完成,国内服务器请在控制台打开端口${remotePort}${plain}"
126126
echo -e "${green}浏览器打开网页${plain} http://${Server_IP}:${remotePort}"
127127
echo -e "${green}如需修改其他配置请前往${orgin_file_dir}根据注释修改docker-compose.yml文件后${plain}"
128-
echo -e "${green}通过命令docker-compose up -d 重启即可${plain}"
128+
echo -e "${green}通过命令docker-compose up -d 重启即可${plain}"

0 commit comments

Comments
 (0)