文档
快速开始
在 Linux 主机上用 Docker Compose 拉起 Approving。
前提
- Linux 主机
- 已安装 Git、Docker 与 Docker Compose
克隆仓库
git clone https://github.com/cocofhu/approving.git
cd approving
启动
默认路径从 GHCR 拉取已发布镜像(无需本地构建镜像):
./start.sh -d
然后打开:
- UI / API:http://localhost:8080
- API health:http://localhost:8080/api/health
- Gateway health:http://localhost:8899/healthz
- 默认登录:
admin/demo1234(local-demo)
./start.sh 还会从 GHCR 拉取 sandbox runtime 镜像(体积较大)。完成前,沙箱对话可能停留在 “starting sandbox…”。
常用命令
./start.sh logs
./start.sh down
./start.sh pull # 刷新 GHCR 镜像
./start.sh dev -d # 源码栈:go run + Vite HMR
镜像 tag / digest 可在 .env 覆盖 — 见仓库根目录 .env.example。发布与 smoke 见 Contributing。