diff --git a/apps/mt-photos-ai/README.md b/apps/mt-photos-ai/README.md index fbe6b167626d..6dce373237bb 100644 --- a/apps/mt-photos-ai/README.md +++ b/apps/mt-photos-ai/README.md @@ -1,4 +1,18 @@ # MT Photos AI 识别相关任务独立部署项目 -- 基于PaddleOCR实现的文本识别(OCR)接口 -- 基于Chinese-CLIP(OpenAI CLIP模型的中文版本)实现的图片、文本提取特征接口 +## 介绍 + +- 基于 PaddleOCR 实现的文本识别(OCR)接口 +- 基于 Chinese-CLIP(OpenAI CLIP 模型的中文版本)实现的图片、文本提取特征接口 + +## 镜像 + +- `devfox101/mt-photos-ai:latest` + 合并了 `mt-photos-ai` 和 `mt-photos-insightface-unofficial` 2 个镜像的代码,运行这一个镜像就可以支持以上 2 个镜像的功能 + +- 如果在添加智能识别 API 和人脸识别 API 时,需要调用 Intel 核显来加速处理;可以使用 devfox101/mt-photos-ai:latest 镜像,并给容器映射/dev/dri + +```yml +devices: + - "/dev/dri:/dev/dri" +``` diff --git a/apps/mt-photos-ai/devfox101/.env.sample b/apps/mt-photos-ai/devfox101/.env.sample new file mode 100644 index 000000000000..57c1afc5c431 --- /dev/null +++ b/apps/mt-photos-ai/devfox101/.env.sample @@ -0,0 +1,3 @@ +API_AUTH_KEY="mt_photos_ai_extra" +CONTAINER_NAME="mt-photos-ai" +PANEL_APP_PORT_HTTP=8060 diff --git a/apps/mt-photos-ai/devfox101/data.yml b/apps/mt-photos-ai/devfox101/data.yml new file mode 100644 index 000000000000..2ccb9aec803d --- /dev/null +++ b/apps/mt-photos-ai/devfox101/data.yml @@ -0,0 +1,19 @@ +additionalProperties: + formFields: + - default: "8060" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "mt_photos_ai_extra" + edit: true + envKey: API_AUTH_KEY + labelEn: API Auth Key + labelZh: API 授权密钥 + random: true + required: true + rule: paramComplexity + type: password diff --git a/apps/mt-photos-ai/devfox101/docker-compose.yml b/apps/mt-photos-ai/devfox101/docker-compose.yml new file mode 100644 index 000000000000..3620aa94222d --- /dev/null +++ b/apps/mt-photos-ai/devfox101/docker-compose.yml @@ -0,0 +1,19 @@ +services: + mt-photos-ai: + image: "devfox101/mt-photos-ai:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8060" + environment: + - API_AUTH_KEY=${API_AUTH_KEY} + devices: + - "/dev/dri:/dev/dri" + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/qbittorrent-linuxserver/README.md b/apps/qbittorrent-linuxserver/README.md new file mode 100644 index 000000000000..66108220259b --- /dev/null +++ b/apps/qbittorrent-linuxserver/README.md @@ -0,0 +1,62 @@ +# linuxserver/qbittorrent⁠ + +由 LinuxServer.io 提供的 Qbittorrent 容器 + +Qbittorrent 项目旨在提供 μTorrent 的开源软件替代方案 + +QBittorrent 基于 Qt 工具包和 libtorrent-rasterbar 库 +## docker-compose +```docker compose +services: + qbittorrent: + image: lscr.io/linuxserver/qbittorrent:latest + container_name: qbittorrent + environment: + - PUID=1000 + - PGID=1000 + - TZ=Etc/UTC + - WEBUI_PORT=8080 + - TORRENTING_PORT=6881 + volumes: + - /path/to/qbittorrent/appdata:/config + #optional + - /path/to/downloads:/downloads + ports: + - 8080:8080 + - 6881:6881 + - 6881:6881/udp + restart: unless-stopped +``` +## docker cli +```bash +docker run -d \ + --name=qbittorrent \ + -e PUID=1000 \ + -e PGID=1000 \ + -e TZ=Etc/UTC \ + -e WEBUI_PORT=8080 \ + -e TORRENTING_PORT=6881 \ + -p 8080:8080 \ + -p 6881:6881 \ + -p 6881:6881/udp \ + -v /path/to/qbittorrent/appdata:/config \ + -v /path/to/downloads:/downloads `#optional` \ + --restart unless-stopped \ + lscr.io/linuxserver/qbittorrent:latest +``` + +## 参数 +| 参数 | 功能 | +|-----------------------|-------------------------------------| +| `-p 8080:8080` | WebUI 界面端口 | +| `-p 6881:6881` | TCP 连接端口 | +| `-p 6881:6881/udp` | UDP 连接端口 | +| `-e PUID=1000` | 指定用户 ID,详见下文说明 | +| `-e PGID=1000` | 指定用户组 ID,详见下文说明 | +| `-e TZ=Etc/UTC` | 指定使用的时区,详见时区列表 | +| `-e WEBUI_PORT=8080` | 修改 WebUI 的端口,详见下文说明 | +| `-e TORRENTING_PORT=6881` | 修改 TCP/UDP 连接的端口,详见下文说明 | +| `-v /config` | 包含所有相关配置文件的路径 | +| `-v /downloads` | 磁盘上的下载位置 | +| `--read-only=true` | 以只读文件系统运行容器,详见文档说明 | +| `--user=1000:1000` | 以非 root 用户运行容器,详见文档说明 | diff --git a/apps/qbittorrent-linuxserver/data.yml b/apps/qbittorrent-linuxserver/data.yml new file mode 100644 index 000000000000..d1b888e344c3 --- /dev/null +++ b/apps/qbittorrent-linuxserver/data.yml @@ -0,0 +1,14 @@ +additionalProperties: + key: qbittorrent-linuxserver + name: qbittorrent/linuxserver + tags: + - Tool + shortDescZh: 由LinuxServer.io提供的Qbittorrent容器 + shortDescEn: A Qbittorrent container, brought to you by LinuxServer.io + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://www.linuxserver.io/blog + github: https://github.com/linuxserver/docker-qbittorrent + document: https://github.com/linuxserver/docker-qbittorrent diff --git a/apps/qbittorrent-linuxserver/latest/data.yml b/apps/qbittorrent-linuxserver/latest/data.yml new file mode 100644 index 000000000000..cba8619808fb --- /dev/null +++ b/apps/qbittorrent-linuxserver/latest/data.yml @@ -0,0 +1,47 @@ +additionalProperties: + formFields: + - default: 8080 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: HTTP Port + labelZh: HTTP 端口 + required: true + rule: paramPort + type: number + - default: 6881 + edit: true + envKey: PANEL_APP_PORT_BT_DOWNLOAD_LISTENER + labelEn: BT download listener Port + labelZh: BT下载监听端口 + required: true + rule: paramPort + type: number + - default: 6881 + edit: true + envKey: PANEL_APP_PORT_BT_DWNLOAD_DHT_LISTENER + labelEn: BT download DHT listener Port(UDP) + labelZh: BT下载DHT监听端口(UDP) + required: true + rule: paramPort + type: number + - default: ./data/config + edit: true + envKey: CONFIG_PATH + labelEn: config folder path + labelZh: 配置文件路径 + required: true + type: text + - default: ./data/downloads + edit: true + envKey: DOWNLOAD_PATH + labelEn: download folder path + labelZh: 下载文件路径 + required: true + type: text + - default: Asia/Shanghai + edit: true + envKey: TIME_ZONE + labelEn: Time zone + labelZh: 时区 + required: true + type: text \ No newline at end of file diff --git a/apps/qbittorrent-linuxserver/latest/docker-compose.yml b/apps/qbittorrent-linuxserver/latest/docker-compose.yml new file mode 100644 index 000000000000..5fc3c907f2fd --- /dev/null +++ b/apps/qbittorrent-linuxserver/latest/docker-compose.yml @@ -0,0 +1,25 @@ +networks: + 1panel-network: + external: true +services: + qbittorrent: + image: lscr.io/linuxserver/qbittorrent:latest + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + - "${PANEL_APP_PORT_BT_DOWNLOAD_LISTENER}:6881" + - "${PANEL_APP_PORT_BT_DWNLOAD_DHT_LISTENER}:6881/udp" + volumes: + - "${CONFIG_PATH}:/config" + - "${DOWNLOAD_PATH}:/downloads" + environment: + - PUID=1000 + - PGID=1000 + - WEBUI_PORT=8080 + - TORRENTING_PORT=6881 + - TZ=${TIME_ZONE} + labels: + createdBy: "Apps" \ No newline at end of file diff --git a/apps/qbittorrent-linuxserver/logo.png b/apps/qbittorrent-linuxserver/logo.png new file mode 100644 index 000000000000..adc910565b65 Binary files /dev/null and b/apps/qbittorrent-linuxserver/logo.png differ