修改克隆项目时的地址
This commit is contained in:
10
deploy.sh
10
deploy.sh
@@ -3,7 +3,7 @@
|
||||
# FunMC 一键 Docker 部署脚本
|
||||
#
|
||||
# 用法:
|
||||
# curl -fsSL https://raw.githubusercontent.com/mofangfang/funmc/main/deploy.sh | bash
|
||||
# curl -fsSL https://gt.funmc.cn/xiaobai/FunConnect/raw/main/deploy.sh | bash
|
||||
# 或
|
||||
# ./deploy.sh
|
||||
#
|
||||
@@ -47,10 +47,10 @@ cd "$INSTALL_DIR"
|
||||
# 下载文件 (如果不存在)
|
||||
if [ ! -f "docker-compose.yml" ]; then
|
||||
echo -e "${YELLOW}下载配置文件...${NC}"
|
||||
curl -fsSL https://raw.githubusercontent.com/mofangfang/funmc/main/docker-compose.yml -o docker-compose.yml
|
||||
curl -fsSL https://raw.githubusercontent.com/mofangfang/funmc/main/Dockerfile.server -o Dockerfile.server
|
||||
curl -fsSL https://raw.githubusercontent.com/mofangfang/funmc/main/Dockerfile.relay -o Dockerfile.relay
|
||||
curl -fsSL https://raw.githubusercontent.com/mofangfang/funmc/main/.env.example -o .env.example
|
||||
curl -fsSL https://gt.funmc.cn/xiaobai/FunConnect/raw/main/docker-compose.yml -o docker-compose.yml
|
||||
curl -fsSL https://gt.funmc.cn/xiaobai/FunConnect/raw/main/Dockerfile.server -o Dockerfile.server
|
||||
curl -fsSL https://gt.funmc.cn/xiaobai/FunConnect/raw/main/Dockerfile.relay -o Dockerfile.relay
|
||||
curl -fsSL https://gt.funmc.cn/xiaobai/FunConnect/raw/main/.env.example -o .env.example
|
||||
fi
|
||||
|
||||
# 生成配置
|
||||
|
||||
Reference in New Issue
Block a user