2026-05-18-22-23-07 增加Docker安装包与发布配置
This commit is contained in:
38
deploy/README_CLEAN_INSTALL.md
Normal file
38
deploy/README_CLEAN_INSTALL.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# ISISeg 纯净安装包
|
||||
|
||||
本包用于新环境部署。网络相关信息都在 `docker_compose.yaml` 中以 `TODO` 注释和环境变量形式保留,请先按目标环境填写。
|
||||
|
||||
## 启动应用
|
||||
|
||||
```bash
|
||||
docker compose -f docker_compose.yaml up -d --build
|
||||
```
|
||||
|
||||
默认本机端口为 `10004`,可通过环境变量调整:
|
||||
|
||||
```bash
|
||||
ISISEG_HOST_PORT=8001 docker compose -f docker_compose.yaml up -d --build
|
||||
```
|
||||
|
||||
## 启用 frpc
|
||||
|
||||
先填写 `docker_compose.yaml` 中:
|
||||
|
||||
- `FRP_SERVER_ADDR`
|
||||
- `FRP_SERVER_PORT`
|
||||
- `FRP_AUTH_TOKEN`
|
||||
- `FRP_PROXY_NAME`
|
||||
- `FRP_REMOTE_PORT`
|
||||
|
||||
然后运行:
|
||||
|
||||
```bash
|
||||
docker compose -f docker_compose.yaml --profile frpc up -d --build
|
||||
```
|
||||
|
||||
## 数据目录
|
||||
|
||||
- `data/uploads`
|
||||
- `data/jobs`
|
||||
|
||||
内置样例视频已包含在镜像构建上下文中。
|
||||
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`。
|
||||
27
deploy/README_HUIJUTEC_INSTALL.md
Normal file
27
deploy/README_HUIJUTEC_INSTALL.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# ISISeg huijutec 直接运行安装包
|
||||
|
||||
本包已预置:
|
||||
|
||||
- 公网访问域名:`https://isiseg.huijutec.cn`
|
||||
- 本机端口:`10004`
|
||||
- frpc 远端端口:`10004`
|
||||
- frpc 服务端:`82.157.255.195:7000`
|
||||
|
||||
## 启动
|
||||
|
||||
```bash
|
||||
docker compose -f docker_compose.yaml up -d --build
|
||||
```
|
||||
|
||||
启动后,frpc 会将容器内 `isiseg_app:8001` 映射到公网 frp 服务器的 `10004` 端口。按你给的 Nginx Proxy Manager 配置,`isiseg.huijutec.cn` 转发到 `172.17.0.1:10004` 后即可访问。
|
||||
|
||||
## 本机检查
|
||||
|
||||
```bash
|
||||
curl http://127.0.0.1:10004/api/health
|
||||
```
|
||||
|
||||
## 数据目录
|
||||
|
||||
- `data/uploads`
|
||||
- `data/jobs`
|
||||
36
deploy/README_QNAP_INSTALL.md
Normal file
36
deploy/README_QNAP_INSTALL.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# ISISeg QNAP NAS 安装包
|
||||
|
||||
本包适用于 QNAP QTS / Container Station,已预置:
|
||||
|
||||
- 项目路径:`/share/Container/ISISeg`
|
||||
- 公网访问域名:`https://isiseg.huijutec.cn`
|
||||
- 本机端口:`10004`
|
||||
- frpc 远端端口:`10004`
|
||||
- 构建代理:`http://192.168.31.7:7893`
|
||||
|
||||
## 安装步骤
|
||||
|
||||
1. 将安装包解压到:
|
||||
|
||||
```text
|
||||
/share/Container/ISISeg
|
||||
```
|
||||
|
||||
2. 在 Container Station 中使用 `docker_compose_Nas.yaml` 创建应用。
|
||||
|
||||
3. 启动后访问:
|
||||
|
||||
```text
|
||||
https://isiseg.huijutec.cn
|
||||
```
|
||||
|
||||
## 数据目录
|
||||
|
||||
- `/share/Container/ISISeg/data/uploads`
|
||||
- `/share/Container/ISISeg/data/jobs`
|
||||
|
||||
## 本地检查
|
||||
|
||||
```bash
|
||||
curl http://127.0.0.1:10004/api/health
|
||||
```
|
||||
Reference in New Issue
Block a user