2
0

Make script executable & update directory

This commit is contained in:
wfc
2024-11-19 17:02:14 +08:00
4 changed files with 34 additions and 17 deletions

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