2
0

feat: 添加自动部署脚本

This commit is contained in:
caiyuchao
2024-11-18 20:13:18 +08:00
parent c6b060ebba
commit 73f832ef9e
3 changed files with 28 additions and 0 deletions

View File

@@ -34,6 +34,18 @@ modules(){
docker-compose up -d wfc-nginx wfc-gateway wfc-auth wfc-modules-system
}
# 启动程序模块(后端)
backend(){
docker-compose up --build -d wfc-gateway wfc-auth wfc-modules-system
docker image prune
}
# 启动程序模块(前端)
frontend(){
docker-compose up --build -d wfc-gateway wfc-auth wfc-modules-system
docker image prune
}
# 关闭所有环境/模块
stop(){
docker-compose stop