fix: 修正Dockerfile下载链接为特定服务的文件

原脚本中下载的Dockerfile是通用文件,现改为分别下载PHP和PostgreSQL服务的专用Dockerfile,以支持不同服务的容器化部署需求。
This commit is contained in:
Kenny Yang committed 2025-05-29 01:58:10 +08:00
1 parent ce13de6253
commit d8ebdc5ca0
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -79,6 +79,7 @@ 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/refs/heads/main/local/docker-compose.yml
wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/Dockerfile
wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/Dockerfile.php
wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/local/Dockerfile.postgres
echo "Initialization script completed successfully."
+2 -1
View File
@@ -57,6 +57,7 @@ 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/refs/heads/main/vps/docker-compose.yml
wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/vps/Dockerfile
wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/vps/Dockerfile.php
wget -O /home/app/Dockerfile https://raw.githubusercontent.com/shakenny/containerized-stack/refs/heads/main/vps/Dockerfile.postgres
echo "Initialization script completed successfully."