1
0

feat:添加mt-photos-deepface到列表

This commit is contained in:
okxlin
2024-12-12 17:50:00 +08:00
parent ac4b87c6b2
commit 6a87bf8a57
12 changed files with 146 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
API_AUTH_KEY="mt_photos_ai_extra"
CONTAINER_NAME="mt-photos-deepface"
PANEL_APP_PORT_HTTP=40334

View File

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

View File

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