From 9eab62002e712b650d1435800691ce1d19f3a4e0 Mon Sep 17 00:00:00 2001 From: Kenny Yang Date: Sat, 17 May 2025 20:44:01 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E8=84=9A=E6=9C=AC=E4=B8=AD=E7=9A=84=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E4=BB=A5=E4=BD=BF=E7=94=A8refs/heads/main?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新了初始化脚本中的下载链接,将直接使用main分支的路径改为使用refs/heads/main路径,以确保获取最新的配置文件 --- local/init_env.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/local/init_env.sh b/local/init_env.sh index b01e021..41cab73 100644 --- a/local/init_env.sh +++ b/local/init_env.sh @@ -66,7 +66,7 @@ wget -O /home/app/nginx.conf https://raw.githubusercontent.com/shakenny/containe wget -O /home/app/conf.d/default.conf https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/default.conf wget -O /home/app/mysql/conf.d/my.cnf https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/my.cnf -wget -O /home/app/mysql/conf.d/init.sql https://raw.githubusercontent.com/shakenny/containerized-stack/main/local/init.sql +wget -O /home/app/mysql/conf.d/init.sql https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/init.sql wget -O /home/app/redis/conf/redis.conf https://raw.githubusercontent.com/redis/redis/7.2/redis.conf @@ -76,7 +76,7 @@ sed -i "s/# requirepass foobared/requirepass \!Ybw324\!/g" /home/app/redis/conf/ sed -i "s/appendonly no/appendonly yes/g" /home/app/redis/conf/redis.conf # 下载Docker Compose文件和Dockerfile -wget -O /home/app/docker-compose.yml https://raw.githubusercontent.com/shakenny/containerized-stack/main/local/docker-compose.yml -wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/main/local/Dockerfile +wget -O /home/app/docker-compose.yml https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/docker-compose.yml +wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/Dockerfile echo "Initialization script completed successfully."