fix: 调整脚本

This commit is contained in:
caiyuchao committed 2024-11-18 20:45:30 +08:00
1 parent ebb68bc8b7
commit 69779e746c
3 files changed
+18 -7

No files matched your search

+4 -6
View File
@@ -36,14 +36,12 @@ modules(){
# 启动程序模块(后端)
backend(){
docker-compose up --build -d wfc-gateway wfc-auth wfc-modules-system
docker image prune
docker-compose up -d wfc-gateway wfc-auth wfc-modules-system
}
# 启动程序模块(前端)
frontend(){
docker-compose up --build -d wfc-nginx
docker image prune
docker-compose up -d wfc-nginx
}
# 关闭所有环境/模块
@@ -68,10 +66,10 @@ case "$1" in
modules
;;
"backend")
modules
backend
;;
"frontend")
modules
frontend
;;
"stop")
stop