diff --git a/apps/mt-photos/1.33.3/.env.sample b/apps/mt-photos/1.33.3/.env.sample new file mode 100644 index 00000000..e9e11230 --- /dev/null +++ b/apps/mt-photos/1.33.3/.env.sample @@ -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" diff --git a/apps/mt-photos/1.33.3/data.yml b/apps/mt-photos/1.33.3/data.yml new file mode 100644 index 00000000..22a365a4 --- /dev/null +++ b/apps/mt-photos/1.33.3/data.yml @@ -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 diff --git a/apps/mt-photos/1.33.3/docker-compose.yml b/apps/mt-photos/1.33.3/docker-compose.yml new file mode 100644 index 00000000..95d721de --- /dev/null +++ b/apps/mt-photos/1.33.3/docker-compose.yml @@ -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 diff --git a/apps/mt-photos/README.md b/apps/mt-photos/README.md new file mode 100644 index 00000000..37491d87 --- /dev/null +++ b/apps/mt-photos/README.md @@ -0,0 +1,7 @@ +# MT Photos + +**MT Photos**是一款为NAS用户量身打造的照片管理系统。 + +通过AI技术,自动将您的照片整理、分类,包括但不限于时间、地点、人物、照片类型。 + +您可以在任何支持**Docker**的系统中运行它。 \ No newline at end of file diff --git a/apps/mt-photos/data.yml b/apps/mt-photos/data.yml new file mode 100644 index 00000000..9e28f4f6 --- /dev/null +++ b/apps/mt-photos/data.yml @@ -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 diff --git a/apps/mt-photos/latest/.env.sample b/apps/mt-photos/latest/.env.sample new file mode 100644 index 00000000..e9e11230 --- /dev/null +++ b/apps/mt-photos/latest/.env.sample @@ -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" diff --git a/apps/mt-photos/latest/data.yml b/apps/mt-photos/latest/data.yml new file mode 100644 index 00000000..22a365a4 --- /dev/null +++ b/apps/mt-photos/latest/data.yml @@ -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 diff --git a/apps/mt-photos/latest/docker-compose.yml b/apps/mt-photos/latest/docker-compose.yml new file mode 100644 index 00000000..f75d7511 --- /dev/null +++ b/apps/mt-photos/latest/docker-compose.yml @@ -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 diff --git a/apps/mt-photos/logo.png b/apps/mt-photos/logo.png new file mode 100644 index 00000000..7f43af2d Binary files /dev/null and b/apps/mt-photos/logo.png differ