mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-12-12 16:52:22 +08:00
Processed apps directory via GitHub Actions
This commit is contained in:
parent
33ef628e51
commit
71c7b8e496
18
appstore/plex/1.41.2/.env
Normal file
18
appstore/plex/1.41.2/.env
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# 数据持久化路径 [必填]
|
||||||
|
PLEX_ROOT_PATH=/home/plex
|
||||||
|
|
||||||
|
# 网络模式 [必填]
|
||||||
|
NETWORK_MODE=host
|
||||||
|
|
||||||
|
# WebUI 端口 [必填]
|
||||||
|
PANEL_APP_PORT_HTTP=32400
|
||||||
|
|
||||||
|
# 自定义挂载目录 1
|
||||||
|
CUSTOM_MOUNT_DIRECTORY_1=
|
||||||
|
|
||||||
|
# 自定义挂载目录 2
|
||||||
|
CUSTOM_MOUNT_DIRECTORY_2=
|
||||||
|
|
||||||
|
# 自定义挂载目录 3
|
||||||
|
CUSTOM_MOUNT_DIRECTORY_3=
|
||||||
|
|
54
appstore/plex/1.41.2/data.yml
Normal file
54
appstore/plex/1.41.2/data.yml
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "/home/plex"
|
||||||
|
edit: true
|
||||||
|
envKey: PLEX_ROOT_PATH
|
||||||
|
labelZh: 数据持久化路径
|
||||||
|
labelEn: Data persistence path
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "host"
|
||||||
|
edit: true
|
||||||
|
envKey: NETWORK_MODE
|
||||||
|
labelEn: Drive path
|
||||||
|
labelZh: 网络模式
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 主机网络模式
|
||||||
|
value: "host"
|
||||||
|
- label: 桥接网络模式
|
||||||
|
value: "bridge"
|
||||||
|
- label: 无网络模式
|
||||||
|
value: "none"
|
||||||
|
- label: 1panel-network
|
||||||
|
value: "1panel-network"
|
||||||
|
- default: 32400
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelZh: WebUI 端口
|
||||||
|
labelEn: WebUI port
|
||||||
|
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
|
30
appstore/plex/1.41.2/docker-compose.yml
Normal file
30
appstore/plex/1.41.2/docker-compose.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
services:
|
||||||
|
plex:
|
||||||
|
container_name: plex
|
||||||
|
env_file:
|
||||||
|
- ./envs/global.env
|
||||||
|
- .env
|
||||||
|
environment:
|
||||||
|
- NVIDIA_VISIBLE_DEVICES=all
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- UMASK=022
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
- VERSION=docker
|
||||||
|
image: linuxserver/plex:1.41.2
|
||||||
|
labels:
|
||||||
|
createdBy: Apps
|
||||||
|
network_mode: ${NETWORK_MODE}
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:32400
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ${PLEX_ROOT_PATH}/config:/config
|
||||||
|
- ${PLEX_ROOT_PATH}/tv:/tv
|
||||||
|
- ${PLEX_ROOT_PATH}/movies:/movies
|
||||||
|
- ${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}
|
2
appstore/plex/1.41.2/envs/default.env
Normal file
2
appstore/plex/1.41.2/envs/default.env
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# copyright© 2024 XinJiang Ms Studio
|
||||||
|
ENV_FILE=.env
|
2
appstore/plex/1.41.2/envs/global.env
Normal file
2
appstore/plex/1.41.2/envs/global.env
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# copyright© 2024 XinJiang Ms Studio
|
||||||
|
TZ=Asia/Shanghai
|
17
appstore/plex/1.41.2/scripts/init.sh
Normal file
17
appstore/plex/1.41.2/scripts/init.sh
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
10
appstore/plex/1.41.2/scripts/uninstall.sh
Normal file
10
appstore/plex/1.41.2/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
17
appstore/plex/1.41.2/scripts/upgrade.sh
Normal file
17
appstore/plex/1.41.2/scripts/upgrade.sh
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
15
appstore/plex/README.md
Normal file
15
appstore/plex/README.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# plex
|
||||||
|
|
||||||
|
媒体播放器及媒体服务器软件
|
||||||
|
|
||||||
|
![plex](https://file.lifebus.top/imgs/plex_cover.png)
|
||||||
|
|
||||||
|
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
|
||||||
|
|
||||||
|
## 简介
|
||||||
|
|
||||||
|
Plex是一套媒体播放器及媒体服务器软件,让用户整理在设备上的有声书、音乐、播客、图片和影片文件,以供流至移动设备、智能电视和电子媒体播放器上。
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
|
15
appstore/plex/data.yml
Normal file
15
appstore/plex/data.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
additionalProperties:
|
||||||
|
key: plex
|
||||||
|
name: plex
|
||||||
|
tags:
|
||||||
|
- WebSite
|
||||||
|
- Media
|
||||||
|
- Local
|
||||||
|
shortDescZh: 媒体播放器及媒体服务器软件
|
||||||
|
shortDescEn: Media player and media server software
|
||||||
|
type: website
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
website: https://www.plex.tv/
|
||||||
|
github: https://github.com/plexinc/pms-docker/
|
||||||
|
document: https://www.plex.tv/
|
BIN
appstore/plex/logo.png
Normal file
BIN
appstore/plex/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
18
dockge/plex/.env
Normal file
18
dockge/plex/.env
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# 数据持久化路径 [必填]
|
||||||
|
PLEX_ROOT_PATH=/home/plex
|
||||||
|
|
||||||
|
# 网络模式 [必填]
|
||||||
|
NETWORK_MODE=host
|
||||||
|
|
||||||
|
# WebUI 端口 [必填]
|
||||||
|
PANEL_APP_PORT_HTTP=32400
|
||||||
|
|
||||||
|
# 自定义挂载目录 1
|
||||||
|
CUSTOM_MOUNT_DIRECTORY_1=
|
||||||
|
|
||||||
|
# 自定义挂载目录 2
|
||||||
|
CUSTOM_MOUNT_DIRECTORY_2=
|
||||||
|
|
||||||
|
# 自定义挂载目录 3
|
||||||
|
CUSTOM_MOUNT_DIRECTORY_3=
|
||||||
|
|
30
dockge/plex/docker-compose.yml
Normal file
30
dockge/plex/docker-compose.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
services:
|
||||||
|
plex:
|
||||||
|
container_name: plex
|
||||||
|
env_file:
|
||||||
|
- ./envs/global.env
|
||||||
|
- .env
|
||||||
|
environment:
|
||||||
|
- NVIDIA_VISIBLE_DEVICES=all
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- UMASK=022
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
- VERSION=docker
|
||||||
|
image: linuxserver/plex:1.41.2
|
||||||
|
labels:
|
||||||
|
createdBy: Apps
|
||||||
|
network_mode: ${NETWORK_MODE}
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:32400
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ${PLEX_ROOT_PATH}/config:/config
|
||||||
|
- ${PLEX_ROOT_PATH}/tv:/tv
|
||||||
|
- ${PLEX_ROOT_PATH}/movies:/movies
|
||||||
|
- ${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}
|
2
dockge/plex/envs/default.env
Normal file
2
dockge/plex/envs/default.env
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# copyright© 2024 XinJiang Ms Studio
|
||||||
|
ENV_FILE=.env
|
2
dockge/plex/envs/global.env
Normal file
2
dockge/plex/envs/global.env
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# copyright© 2024 XinJiang Ms Studio
|
||||||
|
TZ=Asia/Shanghai
|
Loading…
Reference in New Issue
Block a user