diff --git a/apps/nas-tools/3.4.1/.env.sample b/apps/nas-tools/3.4.1/.env.sample new file mode 100644 index 00000000..7081832f --- /dev/null +++ b/apps/nas-tools/3.4.1/.env.sample @@ -0,0 +1,10 @@ +CONFIG_PATH="./data/config" +CONTAINER_NAME="nas-tools" +HOSTNAME="nas-tools" +MEDIA_PATH="./data/media" +NASTOOL_AUTO_UPDATE="false" +NASTOOL_CN_UPDATE="false" +PANEL_APP_PORT_HTTP=40296 +PGID=0 +PUID=0 +UMASK=000 diff --git a/apps/nas-tools/3.4.1/data.yml b/apps/nas-tools/3.4.1/data.yml new file mode 100644 index 00000000..febcbe51 --- /dev/null +++ b/apps/nas-tools/3.4.1/data.yml @@ -0,0 +1,76 @@ +additionalProperties: + formFields: + - default: "nas-tools" + edit: true + envKey: HOSTNAME + labelEn: Hostname + labelZh: 主机名 + required: true + type: text + - default: "40296" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "./data/config" + edit: true + envKey: CONFIG_PATH + labelEn: Config Path + labelZh: 配置路径 + required: true + type: text + - default: "./data/media" + edit: true + envKey: MEDIA_PATH + labelEn: Media Path + labelZh: 媒体路径 + required: true + type: text + - default: "0" + edit: true + envKey: PUID + labelEn: User ID + labelZh: 用户 ID + required: true + type: number + - default: "0" + edit: true + envKey: PGID + labelEn: Group ID + labelZh: 组 ID + required: true + type: number + - default: "000" + edit: true + envKey: UMASK + labelEn: Umask + labelZh: 掩码权限 + required: true + type: text + - default: "false" + edit: true + envKey: NASTOOL_AUTO_UPDATE + labelEn: Auto Update + labelZh: 自动更新 + required: true + type: select + values: + - label: "True" + value: "true" + - label: "False" + value: "false" + - default: "false" + edit: true + envKey: NASTOOL_CN_UPDATE + labelEn: CN Update + labelZh: 国内更新 + required: true + type: select + values: + - label: "True" + value: "true" + - label: "False" + value: "false" diff --git a/apps/nas-tools/3.4.1/docker-compose.yml b/apps/nas-tools/3.4.1/docker-compose.yml new file mode 100644 index 00000000..f630198d --- /dev/null +++ b/apps/nas-tools/3.4.1/docker-compose.yml @@ -0,0 +1,25 @@ +services: + nas-tools: + image: "hsuyelin/nas-tools:3.4.1" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:3000" + volumes: + - "${CONFIG_PATH}:/config" + - "${MEDIA_PATH}:/media" + environment: + - PUID=${PUID} + - PGID=${PGID} + - UMASK=${UMASK} + - NASTOOL_AUTO_UPDATE=${NASTOOL_AUTO_UPDATE} + - NASTOOL_CN_UPDATE=${NASTOOL_CN_UPDATE} + hostname: ${HOSTNAME} + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/nas-tools/README.md b/apps/nas-tools/README.md new file mode 100644 index 00000000..ab2ab270 --- /dev/null +++ b/apps/nas-tools/README.md @@ -0,0 +1,9 @@ +# NAS媒体库管理工具 + +## 使用说明 + +- 账户密码 +``` +username: admin +password: password +``` \ No newline at end of file diff --git a/apps/nas-tools/data.yml b/apps/nas-tools/data.yml new file mode 100644 index 00000000..ef8c6a66 --- /dev/null +++ b/apps/nas-tools/data.yml @@ -0,0 +1,19 @@ +name: NAS-Tools +tags: + - 多媒体 +title: NAS 媒体库管理工具 +description: NAS 媒体库管理工具 +additionalProperties: + key: nas-tools + name: NAS-Tools + tags: + - Media + shortDescZh: NAS 媒体库管理工具 + shortDescEn: NAS Media Library Management Tools + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://github.com/hsuyelin/nas-tools + github: https://github.com/hsuyelin/nas-tools + document: https://github.com/hsuyelin/nas-tools diff --git a/apps/nas-tools/latest/.env.sample b/apps/nas-tools/latest/.env.sample new file mode 100644 index 00000000..7081832f --- /dev/null +++ b/apps/nas-tools/latest/.env.sample @@ -0,0 +1,10 @@ +CONFIG_PATH="./data/config" +CONTAINER_NAME="nas-tools" +HOSTNAME="nas-tools" +MEDIA_PATH="./data/media" +NASTOOL_AUTO_UPDATE="false" +NASTOOL_CN_UPDATE="false" +PANEL_APP_PORT_HTTP=40296 +PGID=0 +PUID=0 +UMASK=000 diff --git a/apps/nas-tools/latest/data.yml b/apps/nas-tools/latest/data.yml new file mode 100644 index 00000000..febcbe51 --- /dev/null +++ b/apps/nas-tools/latest/data.yml @@ -0,0 +1,76 @@ +additionalProperties: + formFields: + - default: "nas-tools" + edit: true + envKey: HOSTNAME + labelEn: Hostname + labelZh: 主机名 + required: true + type: text + - default: "40296" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "./data/config" + edit: true + envKey: CONFIG_PATH + labelEn: Config Path + labelZh: 配置路径 + required: true + type: text + - default: "./data/media" + edit: true + envKey: MEDIA_PATH + labelEn: Media Path + labelZh: 媒体路径 + required: true + type: text + - default: "0" + edit: true + envKey: PUID + labelEn: User ID + labelZh: 用户 ID + required: true + type: number + - default: "0" + edit: true + envKey: PGID + labelEn: Group ID + labelZh: 组 ID + required: true + type: number + - default: "000" + edit: true + envKey: UMASK + labelEn: Umask + labelZh: 掩码权限 + required: true + type: text + - default: "false" + edit: true + envKey: NASTOOL_AUTO_UPDATE + labelEn: Auto Update + labelZh: 自动更新 + required: true + type: select + values: + - label: "True" + value: "true" + - label: "False" + value: "false" + - default: "false" + edit: true + envKey: NASTOOL_CN_UPDATE + labelEn: CN Update + labelZh: 国内更新 + required: true + type: select + values: + - label: "True" + value: "true" + - label: "False" + value: "false" diff --git a/apps/nas-tools/latest/docker-compose.yml b/apps/nas-tools/latest/docker-compose.yml new file mode 100644 index 00000000..5fcd2ad5 --- /dev/null +++ b/apps/nas-tools/latest/docker-compose.yml @@ -0,0 +1,25 @@ +services: + nas-tools: + image: "hsuyelin/nas-tools:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:3000" + volumes: + - "${CONFIG_PATH}:/config" + - "${MEDIA_PATH}:/media" + environment: + - PUID=${PUID} + - PGID=${PGID} + - UMASK=${UMASK} + - NASTOOL_AUTO_UPDATE=${NASTOOL_AUTO_UPDATE} + - NASTOOL_CN_UPDATE=${NASTOOL_CN_UPDATE} + hostname: ${HOSTNAME} + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/nas-tools/logo.png b/apps/nas-tools/logo.png new file mode 100644 index 00000000..f0259d0b Binary files /dev/null and b/apps/nas-tools/logo.png differ