fix: 添加自动部署脚本
This commit is contained in:
@@ -42,7 +42,7 @@ backend(){
|
|||||||
|
|
||||||
# 启动程序模块(前端)
|
# 启动程序模块(前端)
|
||||||
frontend(){
|
frontend(){
|
||||||
docker-compose up --build -d wfc-gateway wfc-auth wfc-modules-system
|
docker-compose up --build -d wfc-nginx
|
||||||
docker image prune
|
docker image prune
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -67,6 +67,12 @@ case "$1" in
|
|||||||
"modules")
|
"modules")
|
||||||
modules
|
modules
|
||||||
;;
|
;;
|
||||||
|
"backend")
|
||||||
|
modules
|
||||||
|
;;
|
||||||
|
"frontend")
|
||||||
|
modules
|
||||||
|
;;
|
||||||
"stop")
|
"stop")
|
||||||
stop
|
stop
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user