mirror of
https://github.com/okxlin/appstore.git
synced 2026-02-21 10:27:41 +08:00
feat:修改plex镜像
This commit is contained in:
parent
5cfceb9576
commit
09d29c4c17
17
apps/plex/1.40.3/.env.sample
Normal file
17
apps/plex/1.40.3/.env.sample
Normal file
@ -0,0 +1,17 @@
|
||||
CONTAINER_NAME="plex"
|
||||
LIBRARY_PATH="./data/library"
|
||||
MOVIES_PATH="./data/movies"
|
||||
PANEL_APP_PORT_HTTP="32400"
|
||||
PANEL_APP_PORT_TCP_3005="3005"
|
||||
PANEL_APP_PORT_TCP_32469="32469"
|
||||
PANEL_APP_PORT_TCP_8324="8324"
|
||||
PANEL_APP_PORT_UDP_1900="1900"
|
||||
PANEL_APP_PORT_UDP_32410="32410"
|
||||
PANEL_APP_PORT_UDP_32412="32412"
|
||||
PANEL_APP_PORT_UDP_32413="32413"
|
||||
PANEL_APP_PORT_UDP_32414="32414"
|
||||
PGID="1000"
|
||||
PLEX_CLAIM=""
|
||||
PUID="1000"
|
||||
TIMEZONE="Asia/Shanghai"
|
||||
TVSERIES_PATH="./data/tv"
|
||||
123
apps/plex/1.40.3/data.yml
Normal file
123
apps/plex/1.40.3/data.yml
Normal file
@ -0,0 +1,123 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "32400"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port 32400 (TCP)
|
||||
labelZh: 端口 32400 (TCP)
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "3005"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_TCP_3005
|
||||
labelEn: Port 3005 (TCP)
|
||||
labelZh: 端口 3005 (TCP)
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "8324"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_TCP_8324
|
||||
labelEn: Port 8324 (TCP)
|
||||
labelZh: 端口 8324 (TCP)
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "32469"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_TCP_32469
|
||||
labelEn: Port 32469 (TCP)
|
||||
labelZh: 端口 32469 (TCP)
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "1900"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_UDP_1900
|
||||
labelEn: Port 1900 (UDP)
|
||||
labelZh: 端口 1900 (UDP)
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "32410"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_UDP_32410
|
||||
labelEn: Port 32410 (UDP)
|
||||
labelZh: 端口 32410 (UDP)
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "32412"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_UDP_32412
|
||||
labelEn: Port 32412 (UDP)
|
||||
labelZh: 端口 32412 (UDP)
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "32413"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_UDP_32413
|
||||
labelEn: Port 32413 (UDP)
|
||||
labelZh: 端口 32413 (UDP)
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "32414"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_UDP_32414
|
||||
labelEn: Port 32414 (UDP)
|
||||
labelZh: 端口 32414 (UDP)
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "Asia/Shanghai"
|
||||
edit: true
|
||||
envKey: TIMEZONE
|
||||
labelEn: Timezone
|
||||
labelZh: 时区
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PLEX_CLAIM
|
||||
labelEn: Plex Claim
|
||||
labelZh: Plex 认证令牌
|
||||
required: false
|
||||
type: text
|
||||
- default: "1000"
|
||||
edit: true
|
||||
envKey: PUID
|
||||
labelEn: User ID
|
||||
labelZh: 用户 ID
|
||||
required: false
|
||||
type: number
|
||||
- default: "1000"
|
||||
edit: true
|
||||
envKey: PGID
|
||||
labelEn: Group ID
|
||||
labelZh: 组 ID
|
||||
required: false
|
||||
type: number
|
||||
- default: "./data/library"
|
||||
edit: true
|
||||
envKey: LIBRARY_PATH
|
||||
labelEn: Library Path
|
||||
labelZh: Library 路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/tv"
|
||||
edit: true
|
||||
envKey: TVSERIES_PATH
|
||||
labelEn: TV Series Path
|
||||
labelZh: 电视剧路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/movies"
|
||||
edit: true
|
||||
envKey: MOVIES_PATH
|
||||
labelEn: Movies Path
|
||||
labelZh: 电影路径
|
||||
required: true
|
||||
type: text
|
||||
31
apps/plex/1.40.3/docker-compose.yml
Normal file
31
apps/plex/1.40.3/docker-compose.yml
Normal file
@ -0,0 +1,31 @@
|
||||
services:
|
||||
plex:
|
||||
image: "linuxserver/plex:1.40.3"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:32400/tcp"
|
||||
- "${PANEL_APP_PORT_TCP_3005}:3005/tcp"
|
||||
- "${PANEL_APP_PORT_TCP_8324}:8324/tcp"
|
||||
- "${PANEL_APP_PORT_TCP_32469}:32469/tcp"
|
||||
- "${PANEL_APP_PORT_UDP_1900}:1900/udp"
|
||||
- "${PANEL_APP_PORT_UDP_32410}:32410/udp"
|
||||
- "${PANEL_APP_PORT_UDP_32412}:32412/udp"
|
||||
- "${PANEL_APP_PORT_UDP_32413}:32413/udp"
|
||||
- "${PANEL_APP_PORT_UDP_32414}:32414/udp"
|
||||
environment:
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
- TZ=${TIMEZONE}
|
||||
- VERSION=docker
|
||||
- PLEX_CLAIM=${PLEX_CLAIM}
|
||||
volumes:
|
||||
- ${LIBRARY_PATH}:/config
|
||||
- ${TVSERIES_PATH}:/tv
|
||||
- ${MOVIES_PATH}:/movies
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
@ -1,11 +1,6 @@
|
||||
ADVERTISE_IP="http://localhost:32400/"
|
||||
ALLOWED_NETWORKS="192.168.1.0/24,172.18.0.0/16"
|
||||
CHANGE_CONFIG_DIR_OWNERSHIP="true"
|
||||
CLAIM_TOKEN=""
|
||||
CONTAINER_NAME="plex"
|
||||
DATABASE_PATH="./data/plex/database"
|
||||
HOSTNAME="plex"
|
||||
MEDIA_PATH="./data/media"
|
||||
LIBRARY_PATH="./data/library"
|
||||
MOVIES_PATH="./data/movies"
|
||||
PANEL_APP_PORT_HTTP="32400"
|
||||
PANEL_APP_PORT_TCP_3005="3005"
|
||||
PANEL_APP_PORT_TCP_32469="32469"
|
||||
@ -15,7 +10,8 @@ PANEL_APP_PORT_UDP_32410="32410"
|
||||
PANEL_APP_PORT_UDP_32412="32412"
|
||||
PANEL_APP_PORT_UDP_32413="32413"
|
||||
PANEL_APP_PORT_UDP_32414="32414"
|
||||
PLEX_GID=""
|
||||
PLEX_UID=""
|
||||
PGID="1000"
|
||||
PLEX_CLAIM=""
|
||||
PUID="1000"
|
||||
TIMEZONE="Asia/Shanghai"
|
||||
TRANSCODE_PATH="./data/transcode/temp"
|
||||
TVSERIES_PATH="./data/tv"
|
||||
|
||||
@ -81,77 +81,43 @@ additionalProperties:
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: CLAIM_TOKEN
|
||||
labelEn: Claim Token
|
||||
labelZh: 声明令牌
|
||||
envKey: PLEX_CLAIM
|
||||
labelEn: Plex Claim
|
||||
labelZh: Plex 认证令牌
|
||||
required: false
|
||||
type: text
|
||||
- default: "http://localhost:32400/"
|
||||
- default: "1000"
|
||||
edit: true
|
||||
envKey: ADVERTISE_IP
|
||||
labelEn: External URL
|
||||
labelZh: 外部访问地址
|
||||
required: true
|
||||
rule: paramExtUrl
|
||||
type: text
|
||||
- default: "plex"
|
||||
edit: true
|
||||
envKey: HOSTNAME
|
||||
labelEn: Hostname
|
||||
labelZh: 主机名
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/plex/database"
|
||||
edit: true
|
||||
envKey: DATABASE_PATH
|
||||
labelEn: Database Path
|
||||
labelZh: 数据库路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/transcode/temp"
|
||||
edit: true
|
||||
envKey: TRANSCODE_PATH
|
||||
labelEn: Transcode Path
|
||||
labelZh: 转码路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/media"
|
||||
edit: true
|
||||
envKey: MEDIA_PATH
|
||||
labelEn: Media Path
|
||||
labelZh: 媒体路径
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PLEX_UID
|
||||
labelEn: Plex UID
|
||||
labelZh: Plex 用户 ID
|
||||
envKey: PUID
|
||||
labelEn: User ID
|
||||
labelZh: 用户 ID
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
type: number
|
||||
- default: "1000"
|
||||
edit: true
|
||||
envKey: PLEX_GID
|
||||
labelEn: Plex GID
|
||||
labelZh: Plex 组 ID
|
||||
envKey: PGID
|
||||
labelEn: Group ID
|
||||
labelZh: 组 ID
|
||||
required: false
|
||||
type: text
|
||||
- default: "true"
|
||||
envKey: CHANGE_CONFIG_DIR_OWNERSHIP
|
||||
labelEn: Change Config Dir Ownership
|
||||
labelZh: 更改配置目录所有权
|
||||
type: number
|
||||
- default: "./data/library"
|
||||
edit: true
|
||||
envKey: LIBRARY_PATH
|
||||
labelEn: Library Path
|
||||
labelZh: Library 路径
|
||||
required: true
|
||||
type: select
|
||||
type: text
|
||||
- default: "./data/tv"
|
||||
edit: true
|
||||
values:
|
||||
- label: "True"
|
||||
value: "true"
|
||||
- label: "False"
|
||||
value: "false"
|
||||
- default: "192.168.1.0/24,172.18.0.0/16"
|
||||
envKey: TVSERIES_PATH
|
||||
labelEn: TV Series Path
|
||||
labelZh: 电视剧路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "./data/movies"
|
||||
edit: true
|
||||
envKey: ALLOWED_NETWORKS
|
||||
labelEn: Allowed Networks
|
||||
labelZh: 允许的网络
|
||||
required: false
|
||||
type: text
|
||||
envKey: MOVIES_PATH
|
||||
labelEn: Movies Path
|
||||
labelZh: 电影路径
|
||||
required: true
|
||||
type: text
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
services:
|
||||
plex:
|
||||
image: "plexinc/pms-docker:latest"
|
||||
image: "linuxserver/plex:latest"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
@ -16,20 +16,15 @@ services:
|
||||
- "${PANEL_APP_PORT_UDP_32413}:32413/udp"
|
||||
- "${PANEL_APP_PORT_UDP_32414}:32414/udp"
|
||||
environment:
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
- TZ=${TIMEZONE}
|
||||
- PLEX_CLAIM=${CLAIM_TOKEN}
|
||||
- ADVERTISE_IP=${ADVERTISE_IP}
|
||||
- HOSTNAME=${HOSTNAME}
|
||||
- PLEX_UID=${PLEX_UID}
|
||||
- PLEX_GID=${PLEX_GID}
|
||||
- CHANGE_CONFIG_DIR_OWNERSHIP=${CHANGE_CONFIG_DIR_OWNERSHIP}
|
||||
- ALLOWED_NETWORKS=${ALLOWED_NETWORKS}
|
||||
- VERSION=docker
|
||||
- PLEX_CLAIM=${PLEX_CLAIM}
|
||||
volumes:
|
||||
- ${DATABASE_PATH}:/config
|
||||
- ${TRANSCODE_PATH}:/transcode
|
||||
- ${MEDIA_PATH}:/data
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
- ${LIBRARY_PATH}:/config
|
||||
- ${TVSERIES_PATH}:/tv
|
||||
- ${MOVIES_PATH}:/movies
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
services:
|
||||
plex:
|
||||
image: "plexinc/pms-docker:1.40.3.8555-fef15d30c"
|
||||
image: "plexinc/pms-docker:latest"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
Loading…
Reference in New Issue
Block a user