Make script executable & update directory
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user