提交 5b57209e 编写于 作者: twelvet's avatar twelvet

优化启动

上级 179557ae
......@@ -36,15 +36,18 @@ port() {
# 启动基础环境(必须)
base() {
docker-compose up -d twelvet-mysql twelvet-redis
ehco '等待Mysql导入数据' && sleep 15
ehco "等待Mysql导入数据"
sleep 15
docker-compose up -d twelvet-nacos
ehco '等待Nacos启动' && sleep 15
ehco "等待Nacos启动"
sleep 15
}
# 启动程序模块(必须)
server() {
docker-compose up -d twelvet-gateway twelvet-auth twelvet-server-system
ehco '等待服务启动' && sleep 30
ehco "等待服务启动"
sleep 30
}
# 启动nginx(必须)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册