File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ curl -fsSL https://get.docker.com | bash -s docker #国外服务器
310310curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun #国内服务器
311311
312312# 下载项目里的 docker-compose.yaml
313- wget https://ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/docker-compose.yaml
313+ wget https://mirror. ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/docker-compose.yaml
314314# 根据 docker-compose.yaml 里面的注释编辑所需配置
315315vim docker-compose.yaml
316316# 保存
@@ -337,10 +337,10 @@ docker-compose pull && docker-compose up -d
337337` ` ` shell
338338# 此脚本对甲骨文非Ubuntu系统,CentOS9可能不兼容。建议网上手动搜索
339339#curl
340- bash <(curl -L -s https://ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/reader.sh)
340+ bash <(curl -L -s https://mirror. ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/reader.sh)
341341
342342#wget
343- bash <(wget -qO- --no-check-certificate https://ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/reader.sh)
343+ bash <(wget -qO- --no-check-certificate https://mirror. ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/reader.sh)
344344
345345` ` `
346346
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ install_dockercompose() {
7979 systemctl restart docker
8080 systemctl enable docker
8181 echo -e " ${green} 正在安装docker-compose ${plain} "
82- 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
82+ curl -L " https://mirror. 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
8383 else
8484 echo -e " ${green} 正在安装docker-compose ${plain} "
8585 apt update && apt install wget curl docker-compose -y
@@ -90,7 +90,7 @@ install_reader() {
9090 mkdir -p ${orgin_file_dir} /storage/data/default
9191 cd ${orgin_file_dir}
9292 rm docker-compose*
93- wget https://ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/docker-compose.yml
93+ wget https://mirror. ghproxy.com/https://raw.githubusercontent.com/hectorqin/reader/master/docker-compose.yml
9494 echo -e " ${green} 正在配置默认书源 ${plain} "
9595 wget https://jihulab.com/aoaostar/legado/-/raw/release/cache/6c35d84798ddbf4aad3fe3f0fd6cec53dd788be8.json -O storage/data/default/bookSource.json
9696 # 判断是否合法json
You can’t perform that action at this time.
0 commit comments