update README.md

This commit is contained in:
thinkgem
2025-11-03 00:00:36 +08:00
parent ed6ef1fd38
commit ae391f1b94
4 changed files with 65 additions and 25 deletions

32
bin/docker-compose.sh Normal file
View File

@@ -0,0 +1,32 @@
#!/bin/sh
# /**
# * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
# * No deletion without permission, or be held responsible to law.
# *
# * Author: ThinkGem@163.com
# *
# */
echo ""
echo "[信息] 运行Docker镜像。"
echo ""
echo "请按回车键继续 ... "
read text
cd ..
# 停止并移除容器,如果存在
docker-compose -f docker-compose.yml stop
docker-compose -f docker-compose.yml rm -f
# 运行容器
docker-compose -f docker-compose.yml up -d
# 查看日志
docker-compose -f docker-compose.yml logs -f
echo ""
echo "启动完成 ... "
echo ""
cd bin