docker compose 自动更新小问题
This commit is contained in:
parent
a9dd626cdf
commit
0288eed8fb
@ -68,8 +68,7 @@ case $pick in
|
|||||||
fi
|
fi
|
||||||
cat > "${path}/up-docker_compose.sh" << EOF
|
cat > "${path}/up-docker_compose.sh" << EOF
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
web_path="${web_path}"
|
for dir in "${web_path}"/*/; do
|
||||||
for dir in "\$web_path"/*/; do
|
|
||||||
cd "\$dir" || exit
|
cd "\$dir" || exit
|
||||||
sudo docker compose pull
|
sudo docker compose pull
|
||||||
sudo docker compose up -d
|
sudo docker compose up -d
|
||||||
|
Loading…
Reference in New Issue
Block a user