1
0

feat:添加radarr到列表

This commit is contained in:
okxlin
2024-11-06 00:09:08 +08:00
parent f2f0a6a3ae
commit 80b991f0b6
9 changed files with 190 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
CONTAINER_NAME="radarr"
DOWNLOADS_PATH="./data/downloads"
MOVIES_PATH="./data/movies"
PANEL_APP_PORT_HTTP=40316
PGID=1000
PUID=1000
RADARR_CONFIG_PATH="./data/data"
TIME_ZONE="Asia/Shanghai"

View File

@@ -0,0 +1,52 @@
additionalProperties:
formFields:
- default: "40316"
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/data"
edit: true
envKey: RADARR_CONFIG_PATH
labelEn: Radarr Config Path
labelZh: Radarr 配置路径
required: true
type: text
- default: "./data/movies"
edit: true
envKey: MOVIES_PATH
labelEn: Movies Path
labelZh: 电影路径
required: true
type: text
- default: "./data/downloads"
edit: true
envKey: DOWNLOADS_PATH
labelEn: Downloads Path
labelZh: 下载路径
required: true
type: text

View File

@@ -0,0 +1,23 @@
services:
radarr:
image: "linuxserver/radarr:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIME_ZONE}
volumes:
- ${RADARR_CONFIG_PATH}:/config
- ${MOVIES_PATH}:/movies
- ${DOWNLOADS_PATH}:/downloads
ports:
- "${PANEL_APP_PORT_HTTP}:7878"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true