feat:添加mt-photos-deepface到列表
This commit is contained in:
3
apps/mt-photos-deepface/latest/.env.sample
Normal file
3
apps/mt-photos-deepface/latest/.env.sample
Normal file
@@ -0,0 +1,3 @@
|
||||
API_AUTH_KEY="mt_photos_ai_extra"
|
||||
CONTAINER_NAME="mt-photos-deepface"
|
||||
PANEL_APP_PORT_HTTP=40334
|
||||
19
apps/mt-photos-deepface/latest/data.yml
Normal file
19
apps/mt-photos-deepface/latest/data.yml
Normal 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
|
||||
17
apps/mt-photos-deepface/latest/docker-compose.yml
Normal file
17
apps/mt-photos-deepface/latest/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user