docker compose 自动更新小问题

This commit is contained in:
lsy 2024-07-26 21:11:12 +08:00
parent a9dd626cdf
commit 0288eed8fb

View File

@ -68,8 +68,7 @@ case $pick in
fi
cat > "${path}/up-docker_compose.sh" << EOF
#!/bin/bash
web_path="${web_path}"
for dir in "\$web_path"/*/; do
for dir in "${web_path}"/*/; do
cd "\$dir" || exit
sudo docker compose pull
sudo docker compose up -d