1
0

chore(deps): update mtphotos/mt-photos docker tag to v1.46.0 (localApps) (#4369)

This commit is contained in:
renovate[bot]
2026-03-06 07:52:05 +00:00
committed by GitHub
parent 8c5e2090e4
commit 68e9ebab55
3 changed files with 1 additions and 1 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,83 @@
additionalProperties:
formFields:
- default: "40319"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
label:
en: Port
zh: 端口
required: true
rule: paramPort
type: number
- default: "Asia/Shanghai"
edit: true
envKey: TIME_ZONE
labelEn: Time Zone
labelZh: 时区
label:
en: Time Zone
zh: 时区
required: true
type: text
- default: "./data/config"
edit: true
envKey: CONFIG_PATH
labelEn: Config Path
labelZh: 配置路径
label:
en: Config Path
zh: 配置路径
required: true
type: text
- default: "./data/upload"
edit: true
envKey: UPLOAD_PATH
labelEn: Upload Path
labelZh: 上传路径
label:
en: Upload Path
zh: 上传路径
required: true
type: text
- default: "./data/media-1"
edit: true
envKey: MEDIA_PATH
labelEn: Media Path
labelZh: 媒体路径
label:
en: Media Path
zh: 媒体路径
required: true
type: text
- default: "/media-1"
edit: true
envKey: MEDIA_PATH_INTERNAL
labelEn: Internal Media Path
labelZh: 容器内部媒体路径
label:
en: Internal Media Path
zh: 容器内部媒体路径
required: true
type: text
- default: "./data/media-2"
edit: true
envKey: MEDIA_PATH_2
labelEn: Media Path 2
labelZh: 媒体路径 2
label:
en: Media Path 2
zh: 媒体路径 2
required: true
type: text
- default: "/media-2"
edit: true
envKey: MEDIA_PATH_INTERNAL_2
labelEn: Internal Media Path 2
labelZh: 容器内部媒体路径 2
label:
en: Internal Media Path 2
zh: 容器内部媒体路径 2
required: true
type: text

View File

@@ -0,0 +1,22 @@
services:
mt-photos:
image: "mtphotos/mt-photos:1.46.0"
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