1
0

Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2025-04-05 02:01:37 +00:00
parent 7104388c48
commit e73803438b
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
CONFIG_PATH="./data/config"
CONTAINER_NAME="mt-photos"
MEDIA_PATH="./data/media-1"
MEDIA_PATH_2="./data/media-2"
MEDIA_PATH_INTERNAL="/media-1"
MEDIA_PATH_INTERNAL_2="/media-2"
PANEL_APP_PORT_HTTP=40319
TIME_ZONE="Asia/Shanghai"
UPLOAD_PATH="./data/upload"

View File

@@ -0,0 +1,59 @@
additionalProperties:
formFields:
- default: "40319"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "Asia/Shanghai"
edit: true
envKey: TIME_ZONE
labelEn: Time Zone
labelZh: 时区
required: true
type: text
- default: "./data/config"
edit: true
envKey: CONFIG_PATH
labelEn: Config Path
labelZh: 配置路径
required: true
type: text
- default: "./data/upload"
edit: true
envKey: UPLOAD_PATH
labelEn: Upload Path
labelZh: 上传路径
required: true
type: text
- default: "./data/media-1"
edit: true
envKey: MEDIA_PATH
labelEn: Media Path
labelZh: 媒体路径
required: true
type: text
- default: "/media-1"
edit: true
envKey: MEDIA_PATH_INTERNAL
labelEn: Internal Media Path
labelZh: 容器内部媒体路径
required: true
type: text
- default: "./data/media-2"
edit: true
envKey: MEDIA_PATH_2
labelEn: Media Path 2
labelZh: 媒体路径 2
required: true
type: text
- default: "/media-2"
edit: true
envKey: MEDIA_PATH_INTERNAL_2
labelEn: Internal Media Path 2
labelZh: 容器内部媒体路径 2
required: true
type: text

View File

@@ -0,0 +1,22 @@
services:
mt-photos:
image: "mtphotos/mt-photos:1.36.2"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8063"
environment:
- TZ=${TIME_ZONE}
volumes:
- "${CONFIG_PATH}:/config"
- "${UPLOAD_PATH}:/upload"
- "${MEDIA_PATH}:${MEDIA_PATH_INTERNAL}"
- "${MEDIA_PATH_2}:${MEDIA_PATH_INTERNAL_2}"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true