mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-14 05:12:19 +08:00
feat:添加plex到列表
This commit is contained in:
parent
6ec3be776b
commit
5cfceb9576
21
apps/plex/1.40.3.8555-fef15d30c/.env.sample
Normal file
21
apps/plex/1.40.3.8555-fef15d30c/.env.sample
Normal file
@ -0,0 +1,21 @@
|
||||
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"
|
||||
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"
|
||||
PLEX_GID=""
|
||||
PLEX_UID=""
|
||||
TIMEZONE="Asia/Shanghai"
|
||||
TRANSCODE_PATH="./data/transcode/temp"
|
157
apps/plex/1.40.3.8555-fef15d30c/data.yml
Normal file
157
apps/plex/1.40.3.8555-fef15d30c/data.yml
Normal file
@ -0,0 +1,157 @@
|
||||
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: CLAIM_TOKEN
|
||||
labelEn: Claim Token
|
||||
labelZh: 声明令牌
|
||||
required: false
|
||||
type: text
|
||||
- default: "http://localhost:32400/"
|
||||
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
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PLEX_GID
|
||||
labelEn: Plex GID
|
||||
labelZh: Plex 组 ID
|
||||
required: false
|
||||
type: text
|
||||
- default: "true"
|
||||
envKey: CHANGE_CONFIG_DIR_OWNERSHIP
|
||||
labelEn: Change Config Dir Ownership
|
||||
labelZh: 更改配置目录所有权
|
||||
required: true
|
||||
type: select
|
||||
edit: true
|
||||
values:
|
||||
- label: "True"
|
||||
value: "true"
|
||||
- label: "False"
|
||||
value: "false"
|
||||
- default: "192.168.1.0/24,172.18.0.0/16"
|
||||
edit: true
|
||||
envKey: ALLOWED_NETWORKS
|
||||
labelEn: Allowed Networks
|
||||
labelZh: 允许的网络
|
||||
required: false
|
||||
type: text
|
36
apps/plex/1.40.3.8555-fef15d30c/docker-compose.yml
Normal file
36
apps/plex/1.40.3.8555-fef15d30c/docker-compose.yml
Normal file
@ -0,0 +1,36 @@
|
||||
services:
|
||||
plex:
|
||||
image: "plexinc/pms-docker:1.40.3.8555-fef15d30c"
|
||||
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:
|
||||
- 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}
|
||||
volumes:
|
||||
- ${DATABASE_PATH}:/config
|
||||
- ${TRANSCODE_PATH}:/transcode
|
||||
- ${MEDIA_PATH}:/data
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
3
apps/plex/README.md
Normal file
3
apps/plex/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Plex Media Server
|
||||
|
||||
Plex 是一种媒体播放系统,可让您轻松欣赏电影、电视节目、音乐、图片和基于互联网的内容。
|
19
apps/plex/data.yml
Normal file
19
apps/plex/data.yml
Normal file
@ -0,0 +1,19 @@
|
||||
name: Plex Media Server
|
||||
tags:
|
||||
- 多媒体
|
||||
title: Plex 媒体服务器
|
||||
description: Plex 媒体服务器
|
||||
additionalProperties:
|
||||
key: plex
|
||||
name: Plex Media Server
|
||||
tags:
|
||||
- Media
|
||||
shortDescZh: Plex 媒体服务器
|
||||
shortDescEn: Plex Media Server
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://www.plex.tv
|
||||
github: https://github.com/plexinc/pms-docker
|
||||
document: https://support.plex.tv
|
21
apps/plex/latest/.env.sample
Normal file
21
apps/plex/latest/.env.sample
Normal file
@ -0,0 +1,21 @@
|
||||
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"
|
||||
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"
|
||||
PLEX_GID=""
|
||||
PLEX_UID=""
|
||||
TIMEZONE="Asia/Shanghai"
|
||||
TRANSCODE_PATH="./data/transcode/temp"
|
157
apps/plex/latest/data.yml
Normal file
157
apps/plex/latest/data.yml
Normal file
@ -0,0 +1,157 @@
|
||||
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: CLAIM_TOKEN
|
||||
labelEn: Claim Token
|
||||
labelZh: 声明令牌
|
||||
required: false
|
||||
type: text
|
||||
- default: "http://localhost:32400/"
|
||||
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
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PLEX_GID
|
||||
labelEn: Plex GID
|
||||
labelZh: Plex 组 ID
|
||||
required: false
|
||||
type: text
|
||||
- default: "true"
|
||||
envKey: CHANGE_CONFIG_DIR_OWNERSHIP
|
||||
labelEn: Change Config Dir Ownership
|
||||
labelZh: 更改配置目录所有权
|
||||
required: true
|
||||
type: select
|
||||
edit: true
|
||||
values:
|
||||
- label: "True"
|
||||
value: "true"
|
||||
- label: "False"
|
||||
value: "false"
|
||||
- default: "192.168.1.0/24,172.18.0.0/16"
|
||||
edit: true
|
||||
envKey: ALLOWED_NETWORKS
|
||||
labelEn: Allowed Networks
|
||||
labelZh: 允许的网络
|
||||
required: false
|
||||
type: text
|
36
apps/plex/latest/docker-compose.yml
Normal file
36
apps/plex/latest/docker-compose.yml
Normal file
@ -0,0 +1,36 @@
|
||||
services:
|
||||
plex:
|
||||
image: "plexinc/pms-docker:latest"
|
||||
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:
|
||||
- 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}
|
||||
volumes:
|
||||
- ${DATABASE_PATH}:/config
|
||||
- ${TRANSCODE_PATH}:/transcode
|
||||
- ${MEDIA_PATH}:/data
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
BIN
apps/plex/logo.png
Normal file
BIN
apps/plex/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
Loading…
Reference in New Issue
Block a user