支持:自定义挂载目录
Some checks failed
Push custom to released / push-branch (push) Has been cancelled

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
萌森 2024-09-20 16:26:42 +08:00
parent 0577ed0f31
commit 7e5dafb00d
4 changed files with 48 additions and 0 deletions

View File

@ -14,3 +14,24 @@ additionalProperties:
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_1
labelEn: Custom mount directory 1
labelZh: 自定义挂载目录 1
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_2
labelEn: Custom mount directory 2
labelZh: 自定义挂载目录 2
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_3
labelEn: Custom mount directory 3
labelZh: 自定义挂载目录 3
required: false
type: text

View File

@ -20,6 +20,9 @@ services:
- ${RADARR_ROOT_PATH}/config:/config
- ${RADARR_ROOT_PATH}/movies:/movies
- ${RADARR_ROOT_PATH}/downloads:/downloads
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
environment:
- PUID=1000
- PGID=1000

View File

@ -14,3 +14,24 @@ additionalProperties:
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_1
labelEn: Custom mount directory 1
labelZh: 自定义挂载目录 1
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_2
labelEn: Custom mount directory 2
labelZh: 自定义挂载目录 2
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_3
labelEn: Custom mount directory 3
labelZh: 自定义挂载目录 3
required: false
type: text

View File

@ -20,6 +20,9 @@ services:
- ${SONARR_ROOT_PATH}/config:/config
- ${SONARR_ROOT_PATH}/tv:/tv
- ${SONARR_ROOT_PATH}/downloads:/downloads
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
environment:
- PUID=1000
- PGID=1000