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 00000000..2193b0e1 Binary files /dev/null and b/apps/sonarr/logo.png differ