1
0

Release devfox101 version as a standalone application

This commit is contained in:
pooneyy
2025-08-27 15:40:39 +08:00
parent b077571006
commit 5caac53e9c
10 changed files with 78 additions and 12 deletions

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:1.4.0"
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