Skip to content

Commit

Permalink
feat:添加mt-photos-deepface到列表
Browse files Browse the repository at this point in the history
  • Loading branch information
okxlin committed Dec 12, 2024
1 parent 657a0e2 commit 66f7b7d
Show file tree
Hide file tree
Showing 12 changed files with 146 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/mt-photos-deepface/1.0.3/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
API_AUTH_KEY="mt_photos_ai_extra"
CONTAINER_NAME="mt-photos-deepface"
PANEL_APP_PORT_HTTP=40334
19 changes: 19 additions & 0 deletions apps/mt-photos-deepface/1.0.3/data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
additionalProperties:
formFields:
- default: "40334"
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
17 changes: 17 additions & 0 deletions apps/mt-photos-deepface/1.0.3/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
services:
mt-photos-deepface:
image: "mtphotos/mt-photos-deepface:1.0.3"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8066"
environment:
- API_AUTH_KEY=${API_AUTH_KEY}
labels:
createdBy: "Apps"

networks:
1panel-network:
external: true
3 changes: 3 additions & 0 deletions apps/mt-photos-deepface/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# MT Photos 人脸识别 API

- 基于[serengil/deepface](https://github.com/serengil/deepface)实现的人脸识别API
21 changes: 21 additions & 0 deletions apps/mt-photos-deepface/data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: MT Photos Deepface
tags:
- 多媒体
- AI / 大模型
title: MT Photos 人脸识别 API
description: MT Photos 人脸识别 API
additionalProperties:
key: mt-photos-deepface
name: MT Photos Deepface
tags:
- Media
- AI
shortDescZh: MT Photos 人脸识别 API
shortDescEn: MT Photos Face Recognition API
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://mtmt.tech
github: https://github.com/MT-Photos/mt-photos-deepface
document: https://mtmt.tech
3 changes: 3 additions & 0 deletions apps/mt-photos-deepface/latest-cuda/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
API_AUTH_KEY="mt_photos_ai_extra"
CONTAINER_NAME="mt-photos-deepface"
PANEL_APP_PORT_HTTP=40334
19 changes: 19 additions & 0 deletions apps/mt-photos-deepface/latest-cuda/data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
additionalProperties:
formFields:
- default: "40334"
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
22 changes: 22 additions & 0 deletions apps/mt-photos-deepface/latest-cuda/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
services:
mt-photos-deepface:
image: "mtphotos/mt-photos-deepface:cuda-latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8066"
environment:
- API_AUTH_KEY=${API_AUTH_KEY}
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
labels:
createdBy: "Apps"

networks:
1panel-network:
external: true
3 changes: 3 additions & 0 deletions apps/mt-photos-deepface/latest/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
API_AUTH_KEY="mt_photos_ai_extra"
CONTAINER_NAME="mt-photos-deepface"
PANEL_APP_PORT_HTTP=40334
19 changes: 19 additions & 0 deletions apps/mt-photos-deepface/latest/data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
additionalProperties:
formFields:
- default: "40334"
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
17 changes: 17 additions & 0 deletions apps/mt-photos-deepface/latest/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
services:
mt-photos-deepface:
image: "mtphotos/mt-photos-deepface:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8066"
environment:
- API_AUTH_KEY=${API_AUTH_KEY}
labels:
createdBy: "Apps"

networks:
1panel-network:
external: true
Binary file added apps/mt-photos-deepface/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 66f7b7d

Please sign in to comment.