This commit is contained in:
yeguo 2025-08-22 15:50:54 +00:00 committed by GitHub
commit b02f494221
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 205 additions and 2 deletions

View File

@ -1,4 +1,18 @@
# MT Photos AI 识别相关任务独立部署项目
- 基于PaddleOCR实现的文本识别(OCR)接口
- 基于Chinese-CLIPOpenAI CLIP模型的中文版本实现的图片、文本提取特征接口
## 介绍
- 基于 PaddleOCR 实现的文本识别(OCR)接口
- 基于 Chinese-CLIPOpenAI 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"
```

View File

@ -0,0 +1,3 @@
API_AUTH_KEY="mt_photos_ai_extra"
CONTAINER_NAME="mt-photos-ai"
PANEL_APP_PORT_HTTP=8060

View File

@ -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

View File

@ -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

View File

@ -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 用户运行容器,详见文档说明 |

View File

@ -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

View File

@ -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

View File

@ -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"

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB