From 52279f7eb98b3310a0d06c766fe5c03e7cde6768 Mon Sep 17 00:00:00 2001 From: okxlin Date: Thu, 7 Nov 2024 07:45:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0sonarr=E5=88=B0=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/sonarr/4.0.10/.env.sample | 8 ++++ apps/sonarr/4.0.10/data.yml | 52 ++++++++++++++++++++++++++ apps/sonarr/4.0.10/docker-compose.yml | 23 ++++++++++++ apps/sonarr/README.md | 3 ++ apps/sonarr/data.yml | 19 ++++++++++ apps/sonarr/latest/.env.sample | 8 ++++ apps/sonarr/latest/data.yml | 52 ++++++++++++++++++++++++++ apps/sonarr/latest/docker-compose.yml | 23 ++++++++++++ apps/sonarr/logo.png | Bin 0 -> 3738 bytes 9 files changed, 188 insertions(+) create mode 100644 apps/sonarr/4.0.10/.env.sample create mode 100644 apps/sonarr/4.0.10/data.yml create mode 100644 apps/sonarr/4.0.10/docker-compose.yml create mode 100644 apps/sonarr/README.md create mode 100644 apps/sonarr/data.yml create mode 100644 apps/sonarr/latest/.env.sample create mode 100644 apps/sonarr/latest/data.yml create mode 100644 apps/sonarr/latest/docker-compose.yml create mode 100644 apps/sonarr/logo.png diff --git a/apps/sonarr/4.0.10/.env.sample b/apps/sonarr/4.0.10/.env.sample new file mode 100644 index 00000000..c7df15a8 --- /dev/null +++ b/apps/sonarr/4.0.10/.env.sample @@ -0,0 +1,8 @@ +CONTAINER_NAME="sonarr" +DOWNLOADS_PATH="./data/downloads" +PANEL_APP_PORT_HTTP=40317 +PGID=1000 +PUID=1000 +SONARR_CONFIG_PATH="./data/config" +TIME_ZONE="Asia/Shanghai" +TV_SERIES_PATH="./data/tv" diff --git a/apps/sonarr/4.0.10/data.yml b/apps/sonarr/4.0.10/data.yml new file mode 100644 index 00000000..721202ce --- /dev/null +++ b/apps/sonarr/4.0.10/data.yml @@ -0,0 +1,52 @@ +additionalProperties: + formFields: + - default: "40317" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "1000" + edit: true + envKey: PUID + labelEn: User ID + labelZh: 用户 ID + required: true + type: number + - default: "1000" + edit: true + envKey: PGID + 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 + - default: "./data/config" + edit: true + envKey: SONARR_CONFIG_PATH + labelEn: Sonarr Config Path + labelZh: Sonarr 配置路径 + required: true + type: text + - default: "./data/tv" + edit: true + envKey: TV_SERIES_PATH + labelEn: TV Series Path + labelZh: 电视剧路径 + required: true + type: text + - default: "./data/downloads" + edit: true + envKey: DOWNLOADS_PATH + labelEn: Downloads Path + labelZh: 下载路径 + required: true + type: text diff --git a/apps/sonarr/4.0.10/docker-compose.yml b/apps/sonarr/4.0.10/docker-compose.yml new file mode 100644 index 00000000..de6f3e2c --- /dev/null +++ b/apps/sonarr/4.0.10/docker-compose.yml @@ -0,0 +1,23 @@ +services: + sonarr: + image: "linuxserver/sonarr:4.0.10" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + environment: + - PUID=${PUID} + - PGID=${PGID} + - TZ=${TIME_ZONE} + volumes: + - ${SONARR_CONFIG_PATH}:/config + - ${TV_SERIES_PATH}:/tv + - ${DOWNLOADS_PATH}:/downloads + ports: + - "${PANEL_APP_PORT_HTTP}:8989" + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/sonarr/README.md b/apps/sonarr/README.md new file mode 100644 index 00000000..47bf0028 --- /dev/null +++ b/apps/sonarr/README.md @@ -0,0 +1,3 @@ +# Sonarr + +**Sonarr** 是一款为 Usenet 和 BitTorrent 用户设计的个人视频录像机(PVR)。它可以监控多个 RSS 源,获取你最喜欢的电视剧的新剧集,并自动下载、分类和重命名这些文件。Sonarr 还可以配置为在有更高质量格式可用时,自动升级已经下载的文件质量。 \ No newline at end of file diff --git a/apps/sonarr/data.yml b/apps/sonarr/data.yml new file mode 100644 index 00000000..c5572908 --- /dev/null +++ b/apps/sonarr/data.yml @@ -0,0 +1,19 @@ +name: Sonarr +tags: + - 多媒体 +title: 面向新闻组和 Bittorrent 流媒体用户的智能 PVR +description: 面向新闻组和 Bittorrent 流媒体用户的智能 PVR +additionalProperties: + key: sonarr + name: Sonarr + tags: + - Media + shortDescZh: 面向新闻组和 Bittorrent 流媒体用户的智能 PVR + shortDescEn: Smart PVR for newsgroup and bittorrent users + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://sonarr.tv + github: https://github.com/Sonarr/Sonarr + document: https://wiki.servarr.com diff --git a/apps/sonarr/latest/.env.sample b/apps/sonarr/latest/.env.sample new file mode 100644 index 00000000..c7df15a8 --- /dev/null +++ b/apps/sonarr/latest/.env.sample @@ -0,0 +1,8 @@ +CONTAINER_NAME="sonarr" +DOWNLOADS_PATH="./data/downloads" +PANEL_APP_PORT_HTTP=40317 +PGID=1000 +PUID=1000 +SONARR_CONFIG_PATH="./data/config" +TIME_ZONE="Asia/Shanghai" +TV_SERIES_PATH="./data/tv" diff --git a/apps/sonarr/latest/data.yml b/apps/sonarr/latest/data.yml new file mode 100644 index 00000000..721202ce --- /dev/null +++ b/apps/sonarr/latest/data.yml @@ -0,0 +1,52 @@ +additionalProperties: + formFields: + - default: "40317" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "1000" + edit: true + envKey: PUID + labelEn: User ID + labelZh: 用户 ID + required: true + type: number + - default: "1000" + edit: true + envKey: PGID + 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 + - default: "./data/config" + edit: true + envKey: SONARR_CONFIG_PATH + labelEn: Sonarr Config Path + labelZh: Sonarr 配置路径 + required: true + type: text + - default: "./data/tv" + edit: true + envKey: TV_SERIES_PATH + labelEn: TV Series Path + labelZh: 电视剧路径 + required: true + type: text + - default: "./data/downloads" + edit: true + envKey: DOWNLOADS_PATH + labelEn: Downloads Path + labelZh: 下载路径 + required: true + type: text diff --git a/apps/sonarr/latest/docker-compose.yml b/apps/sonarr/latest/docker-compose.yml new file mode 100644 index 00000000..80736534 --- /dev/null +++ b/apps/sonarr/latest/docker-compose.yml @@ -0,0 +1,23 @@ +services: + sonarr: + image: "linuxserver/sonarr:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + environment: + - PUID=${PUID} + - PGID=${PGID} + - TZ=${TIME_ZONE} + volumes: + - ${SONARR_CONFIG_PATH}:/config + - ${TV_SERIES_PATH}:/tv + - ${DOWNLOADS_PATH}:/downloads + ports: + - "${PANEL_APP_PORT_HTTP}:8989" + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/sonarr/logo.png b/apps/sonarr/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..2193b0e10a34e2789242180ea68964f42fb92270 GIT binary patch literal 3738 zcmbVOS5Omd(?xnm=^X{6Ne>;78bAc3_a;~DI+2c_2_5Tt|%Xy_7ZL_m-pS_q<4 zAyOh8X^QaYz4+d{_vU|Qp51fK?#}EyWoA>%Obr-lxoJsANEq%L>RAvy>Yq(bMzpjn zCqzr?Yi4W(B!b=lt+w{A|H1#KH+ty$UzPSQ5Vyxq|10Y8B;>zBL_I6F*wWUU2%d!| z{F|1O_nL^~ld}I+GIC&v1#kYPL=YX9o|ywn&xYkfOABELqVoOw>JvzW|I?U=s1zbi z%Pe@A3VmH#EfQY=2#4xvO2?nV7@|mNXKp z)HKaW#;#O#teN2>J3BiOQOR0BTfy)m6`-B0U4VkA2X)5=<6CTfW2>sRC0YN;%J)@P z*e7Bqw*#}fdq3MdL+IcS`bQMVbCAb=UamU5a`$`1AWW zVInZV-Tnbk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