Skip to content

Commit

Permalink
关闭mysql 数据库
Browse files Browse the repository at this point in the history
  • Loading branch information
贾杭春 committed May 23, 2024
1 parent b3658a8 commit 8237b1f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ echo "配置地址:"$CONFIG
chmod -R 777 $DATA
echo "数据地址:"$DATA

## shellcheck disable=SC2046
#docker stop $(docker ps -a -q)
## shellcheck disable=SC2046
#docker rm $(docker ps -a -q)
#echo "删除所有容器"
# shellcheck disable=SC2046
docker stop $(docker ps -a -q)
# shellcheck disable=SC2046
docker rm $(docker ps -a -q)
echo "删除所有容器"

echo "用户 ""$USER"" 开始部署docker"
docker-compose -f ./compose.yaml --env-file=$CONFIG/.env up -d
Expand Down

0 comments on commit 8237b1f

Please sign in to comment.