fix: 修正Dockerfile下载链接为特定服务的文件
原脚本中下载的Dockerfile是通用文件,现改为分别下载PHP和PostgreSQL服务的专用Dockerfile,以支持不同服务的容器化部署需求。
This commit is contained in:
1 parent
ce13de6253
commit
d8ebdc5ca0
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -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."
|
||||
Reference in new issue
Block a user