diff --git a/apps/mdcx/20241003/.env.sample b/apps/mdcx/20241003/.env.sample new file mode 100644 index 00000000..4c550a89 --- /dev/null +++ b/apps/mdcx/20241003/.env.sample @@ -0,0 +1,17 @@ +CONFIG_PATH="./data/data" +CONTAINER_NAME="mdcx" +DISPLAY_HEIGHT=750 +DISPLAY_WIDTH=1200 +GROUP_ID=1000 +LOGS_PATH="./data/logs" +MDCX_CONFIG_FILE="./data/mdcx-config/MDCx.config" +MDCX_CONFIG_PATH="./data/mdcx-config" +MEDIA_PATH="./data/media" +MEDIA_PATH_2="./data/media2" +MEDIA_PATH_INTERNAL="/media" +MEDIA_PATH_INTERNAL_2="/media2" +PANEL_APP_PORT_HTTP=40301 +TIME_ZONE="Asia/Shanghai" +USER_ID=1000 +VNC_PASSWORD="password" +VNC_PORT=40302 diff --git a/apps/mdcx/20241003/data.yml b/apps/mdcx/20241003/data.yml new file mode 100644 index 00000000..3e37fd1b --- /dev/null +++ b/apps/mdcx/20241003/data.yml @@ -0,0 +1,118 @@ +additionalProperties: + formFields: + - default: "40301" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "40302" + edit: true + envKey: VNC_PORT + labelEn: VNC Port + labelZh: VNC 端口 + required: true + rule: paramPort + type: number + - default: "1200" + edit: true + envKey: DISPLAY_WIDTH + labelEn: Display Width + labelZh: 显示宽度 + required: true + type: number + - default: "750" + edit: true + envKey: DISPLAY_HEIGHT + labelEn: Display Height + labelZh: 显示高度 + required: true + type: number + - default: "password" + edit: true + envKey: VNC_PASSWORD + labelEn: VNC Password + labelZh: VNC 密码 + random: true + required: true + rule: paramComplexity + type: password + - default: "./data/data" + disabled: true + envKey: CONFIG_PATH + labelEn: Config Path + labelZh: 配置路径 + required: true + type: text + - default: "./data/mdcx-config" + disabled: true + envKey: MDCX_CONFIG_PATH + labelEn: MDCx Config Path + labelZh: MDCx 配置路径 + required: true + type: text + - default: "./data/mdcx-config/MDCx.config" + disabled: true + envKey: MDCX_CONFIG_FILE + labelEn: MDCx Config File + labelZh: MDCx 配置文件 + required: true + type: text + - default: "./data/logs" + disabled: true + envKey: LOGS_PATH + labelEn: Logs Path + labelZh: 日志路径 + required: true + type: text + - default: "./data/media" + edit: true + envKey: MEDIA_PATH + labelEn: Media Path + labelZh: 媒体路径 + required: true + type: text + - default: "/media" + disabled: true + envKey: MEDIA_PATH_INTERNAL + labelEn: Internal Media Path + labelZh: 容器内部媒体路径 + required: true + type: text + - default: "./data/media2" + edit: true + envKey: MEDIA_PATH_2 + labelEn: Media Path 2 + labelZh: 媒体路径 2 + required: true + type: text + - default: "/media2" + disabled: true + envKey: MEDIA_PATH_INTERNAL_2 + labelEn: Internal Media Path 2 + labelZh: 容器内部媒体路径 2 + required: true + type: text + - default: "1000" + edit: true + envKey: USER_ID + labelEn: User ID + labelZh: 用户 ID + required: true + type: number + - default: "1000" + edit: true + envKey: GROUP_ID + labelEn: Group ID + labelZh: 用户组 ID + required: true + type: number + - default: "Asia/Shanghai" + edit: true + envKey: TIME_ZONE + labelEn: Time zone + labelZh: 时区 + required: true + type: text diff --git a/apps/mdcx/20241003/data/data/.gitkeep b/apps/mdcx/20241003/data/data/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/apps/mdcx/20241003/data/logs/.gitkeep b/apps/mdcx/20241003/data/logs/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/apps/mdcx/20241003/data/mdcx-config/MDCx.config b/apps/mdcx/20241003/data/mdcx-config/MDCx.config new file mode 100644 index 00000000..cbb307e2 --- /dev/null +++ b/apps/mdcx/20241003/data/mdcx-config/MDCx.config @@ -0,0 +1 @@ +/mdcx-config/config.ini diff --git a/apps/mdcx/20241003/docker-compose.yml b/apps/mdcx/20241003/docker-compose.yml new file mode 100644 index 00000000..87b1f3f8 --- /dev/null +++ b/apps/mdcx/20241003/docker-compose.yml @@ -0,0 +1,30 @@ +services: + mdcx: + image: "stainless403/mdcx-builtin-gui-base:d20241003" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:5800" + - "${VNC_PORT}:5900" + environment: + - TZ=${TIME_ZONE} + - DISPLAY_WIDTH=${DISPLAY_WIDTH} + - DISPLAY_HEIGHT=${DISPLAY_HEIGHT} + - VNC_PASSWORD=${VNC_PASSWORD} + - USER_ID=${USER_ID} + - GROUP_ID=${GROUP_ID} + volumes: + - "${CONFIG_PATH}:/config" + - "${MDCX_CONFIG_PATH}:/mdcx-config" + - "${MDCX_CONFIG_FILE}:/app/MDCx.config" + - "${LOGS_PATH}:/app/Log" + - "${MEDIA_PATH}:${MEDIA_PATH_INTERNAL}" + - "${MEDIA_PATH_2}:${MEDIA_PATH_INTERNAL_2}" + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/mdcx/README.md b/apps/mdcx/README.md new file mode 100644 index 00000000..e17797d5 --- /dev/null +++ b/apps/mdcx/README.md @@ -0,0 +1,3 @@ +# MDCx Docker + +电影元数据搜刮器。 \ No newline at end of file diff --git a/apps/mdcx/data.yml b/apps/mdcx/data.yml new file mode 100644 index 00000000..82d97568 --- /dev/null +++ b/apps/mdcx/data.yml @@ -0,0 +1,19 @@ +name: MDCX +tags: + - 多媒体 +title: 电影元数据搜刮器 +description: 电影元数据搜刮器 +additionalProperties: + key: mdcx + name: MDCX + tags: + - Media + shortDescZh: 电影元数据搜刮器 + shortDescEn: Movie metadata scraper + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://hub.docker.com/r/stainless403/mdcx-builtin-gui-base + github: https://github.com/northsea4/mdcx-docker + document: https://github.com/northsea4/mdcx-docker diff --git a/apps/mdcx/latest/.env.sample b/apps/mdcx/latest/.env.sample new file mode 100644 index 00000000..4c550a89 --- /dev/null +++ b/apps/mdcx/latest/.env.sample @@ -0,0 +1,17 @@ +CONFIG_PATH="./data/data" +CONTAINER_NAME="mdcx" +DISPLAY_HEIGHT=750 +DISPLAY_WIDTH=1200 +GROUP_ID=1000 +LOGS_PATH="./data/logs" +MDCX_CONFIG_FILE="./data/mdcx-config/MDCx.config" +MDCX_CONFIG_PATH="./data/mdcx-config" +MEDIA_PATH="./data/media" +MEDIA_PATH_2="./data/media2" +MEDIA_PATH_INTERNAL="/media" +MEDIA_PATH_INTERNAL_2="/media2" +PANEL_APP_PORT_HTTP=40301 +TIME_ZONE="Asia/Shanghai" +USER_ID=1000 +VNC_PASSWORD="password" +VNC_PORT=40302 diff --git a/apps/mdcx/latest/data.yml b/apps/mdcx/latest/data.yml new file mode 100644 index 00000000..3e37fd1b --- /dev/null +++ b/apps/mdcx/latest/data.yml @@ -0,0 +1,118 @@ +additionalProperties: + formFields: + - default: "40301" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "40302" + edit: true + envKey: VNC_PORT + labelEn: VNC Port + labelZh: VNC 端口 + required: true + rule: paramPort + type: number + - default: "1200" + edit: true + envKey: DISPLAY_WIDTH + labelEn: Display Width + labelZh: 显示宽度 + required: true + type: number + - default: "750" + edit: true + envKey: DISPLAY_HEIGHT + labelEn: Display Height + labelZh: 显示高度 + required: true + type: number + - default: "password" + edit: true + envKey: VNC_PASSWORD + labelEn: VNC Password + labelZh: VNC 密码 + random: true + required: true + rule: paramComplexity + type: password + - default: "./data/data" + disabled: true + envKey: CONFIG_PATH + labelEn: Config Path + labelZh: 配置路径 + required: true + type: text + - default: "./data/mdcx-config" + disabled: true + envKey: MDCX_CONFIG_PATH + labelEn: MDCx Config Path + labelZh: MDCx 配置路径 + required: true + type: text + - default: "./data/mdcx-config/MDCx.config" + disabled: true + envKey: MDCX_CONFIG_FILE + labelEn: MDCx Config File + labelZh: MDCx 配置文件 + required: true + type: text + - default: "./data/logs" + disabled: true + envKey: LOGS_PATH + labelEn: Logs Path + labelZh: 日志路径 + required: true + type: text + - default: "./data/media" + edit: true + envKey: MEDIA_PATH + labelEn: Media Path + labelZh: 媒体路径 + required: true + type: text + - default: "/media" + disabled: true + envKey: MEDIA_PATH_INTERNAL + labelEn: Internal Media Path + labelZh: 容器内部媒体路径 + required: true + type: text + - default: "./data/media2" + edit: true + envKey: MEDIA_PATH_2 + labelEn: Media Path 2 + labelZh: 媒体路径 2 + required: true + type: text + - default: "/media2" + disabled: true + envKey: MEDIA_PATH_INTERNAL_2 + labelEn: Internal Media Path 2 + labelZh: 容器内部媒体路径 2 + required: true + type: text + - default: "1000" + edit: true + envKey: USER_ID + labelEn: User ID + labelZh: 用户 ID + required: true + type: number + - default: "1000" + edit: true + envKey: GROUP_ID + labelEn: Group ID + labelZh: 用户组 ID + required: true + type: number + - default: "Asia/Shanghai" + edit: true + envKey: TIME_ZONE + labelEn: Time zone + labelZh: 时区 + required: true + type: text diff --git a/apps/mdcx/latest/data/data/.gitkeep b/apps/mdcx/latest/data/data/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/apps/mdcx/latest/data/logs/.gitkeep b/apps/mdcx/latest/data/logs/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/apps/mdcx/latest/data/mdcx-config/MDCx.config b/apps/mdcx/latest/data/mdcx-config/MDCx.config new file mode 100644 index 00000000..cbb307e2 --- /dev/null +++ b/apps/mdcx/latest/data/mdcx-config/MDCx.config @@ -0,0 +1 @@ +/mdcx-config/config.ini diff --git a/apps/mdcx/latest/docker-compose.yml b/apps/mdcx/latest/docker-compose.yml new file mode 100644 index 00000000..d52dc75b --- /dev/null +++ b/apps/mdcx/latest/docker-compose.yml @@ -0,0 +1,30 @@ +services: + mdcx: + image: "stainless403/mdcx-builtin-gui-base:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:5800" + - "${VNC_PORT}:5900" + environment: + - TZ=${TIME_ZONE} + - DISPLAY_WIDTH=${DISPLAY_WIDTH} + - DISPLAY_HEIGHT=${DISPLAY_HEIGHT} + - VNC_PASSWORD=${VNC_PASSWORD} + - USER_ID=${USER_ID} + - GROUP_ID=${GROUP_ID} + volumes: + - "${CONFIG_PATH}:/config" + - "${MDCX_CONFIG_PATH}:/mdcx-config" + - "${MDCX_CONFIG_FILE}:/app/MDCx.config" + - "${LOGS_PATH}:/app/Log" + - "${MEDIA_PATH}:${MEDIA_PATH_INTERNAL}" + - "${MEDIA_PATH_2}:${MEDIA_PATH_INTERNAL_2}" + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/mdcx/logo.png b/apps/mdcx/logo.png new file mode 100644 index 00000000..9cec3e62 Binary files /dev/null and b/apps/mdcx/logo.png differ