2026-05-18-22-23-07 增加Docker安装包与发布配置
This commit is contained in:
48
deploy/README_DOCKER.md
Normal file
48
deploy/README_DOCKER.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# ISISeg Docker 部署说明
|
||||
|
||||
## 纯净模板
|
||||
|
||||
使用仓库根目录 `docker_compose.yaml`:
|
||||
|
||||
```bash
|
||||
docker compose -f docker_compose.yaml up -d --build
|
||||
```
|
||||
|
||||
如需启用 frpc,先填写 compose 中 `FRP_SERVER_ADDR`、`FRP_AUTH_TOKEN`、`FRP_REMOTE_PORT` 等待填写项,然后运行:
|
||||
|
||||
```bash
|
||||
docker compose -f docker_compose.yaml --profile frpc up -d --build
|
||||
```
|
||||
|
||||
## huijutec 直接运行版
|
||||
|
||||
使用 `docker_compose_huijutec.yaml`:
|
||||
|
||||
```bash
|
||||
docker compose -f docker_compose_huijutec.yaml up -d --build
|
||||
```
|
||||
|
||||
默认本机端口和 frpc 远端端口均为 `10004`,公网域名为 `https://isiseg.huijutec.cn`。
|
||||
|
||||
## QNAP NAS 版
|
||||
|
||||
将安装包解压到:
|
||||
|
||||
```text
|
||||
/share/Container/ISISeg
|
||||
```
|
||||
|
||||
在 QTS Container Station 中选择 `docker_compose_Nas.yaml` 运行。该文件已使用绝对路径、`192.168.31.7:7893` 代理和 frpc `10004` 远端端口。
|
||||
|
||||
## 数据目录
|
||||
|
||||
运行数据默认挂载到:
|
||||
|
||||
- `data/uploads`
|
||||
- `data/jobs`
|
||||
|
||||
内置样例视频保留在镜像内的 `storage/samples`。
|
||||
|
||||
## 依赖说明
|
||||
|
||||
Docker 镜像使用 `requirements-docker.txt`,其中 OpenCV 使用 headless 版本,避免在 NAS 或精简 Linux 镜像中额外安装 GUI 依赖。源码开发环境仍可使用 `requirements.txt`。
|
||||
Reference in New Issue
Block a user