1
0

Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2025-06-30 01:49:04 +00:00
parent bf0cb558b2
commit 8cd4c935f5
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
API_AUTH_KEY="mt_photos_ai_extra_secret"
CONTAINER_NAME="mt-photos-ai"
PANEL_APP_PORT_HTTP=40335

View File

@@ -0,0 +1,19 @@
additionalProperties:
formFields:
- default: "40335"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "mt_photos_ai_extra_secret"
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,23 @@
services:
mt-photos-ai:
image: "mtphotos/mt-photos-ai:1.2.1"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8060"
environment:
- API_AUTH_KEY=${API_AUTH_KEY}
runtime: nvidia
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true