Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353 2024-12-06 04:09:30 +00:00
parent 33ef628e51
commit 71c7b8e496
15 changed files with 232 additions and 0 deletions

18
appstore/plex/1.41.2/.env Normal file
View 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=

View 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

View 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}

View File

@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View 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

View File

@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View 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
View 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
View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

18
dockge/plex/.env Normal file
View 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=

View 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}

View File

@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai