This commit is contained in:
vipg
2026-02-06 15:51:22 +08:00
parent 85a3c846e3
commit fdf1757f88
14 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# 单独启动某一个业务如usermake up-svc svc=user
up-svc:
docker compose up -d $(svc)
# 全局停止所有服务
down:
docker compose down
# 清理无用镜像/容器(团队开发环境,定期清理)
clean:
docker system prune -f
# 初始化Go工作区新成员拉取代码后一键执行
go-init:
go work init
go work use ./common
go work use ./services/user
go work use ./services/order
go work use ./services/pay
go mod tidy