feat:添加mt-photos到列表

This commit is contained in:
okxlin 2024-11-10 13:14:08 +08:00
parent 2045bb6d59
commit 61afec24e0
9 changed files with 206 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.33.3"
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

7
apps/mt-photos/README.md Normal file
View File

@ -0,0 +1,7 @@
# MT Photos
**MT Photos**是一款为NAS用户量身打造的照片管理系统。
通过AI技术自动将您的照片整理、分类包括但不限于时间、地点、人物、照片类型。
您可以在任何支持**Docker**的系统中运行它。

19
apps/mt-photos/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: MT Photos
tags:
- 多媒体
title: 一款简单、好用的照片管理系统
description: 一款简单、好用的照片管理系统
additionalProperties:
key: mt-photos
name: MT Photos
tags:
- Media
shortDescZh: 一款简单、好用的照片管理系统
shortDescEn: A simple, easy-to-use photo management system
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://mtmt.tech
github: https://hub.docker.com/r/mtphotos/mt-photos
document: https://mtmt.tech

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

BIN
apps/mt-photos/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB