Synced apps from source repository via GitHub Actions

This commit is contained in:
QYG2297248353
2025-10-20 03:48:48 +00:00
parent 1d8aaca893
commit d0bc253da6
8 changed files with 1 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
# 网络模式 [必填]
NETWORK_MODE=host
# 数据持久化路径 [必填]
JELLYFIN_ROOT_PATH=/home/jellyfin
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=8096
# HTTP(s) 网络代理
HTTP_PROXY=
# 自定义挂载目录 1
CUSTOM_MOUNT_DIRECTORY_1=
# 自定义挂载目录 2
CUSTOM_MOUNT_DIRECTORY_2=
# 自定义挂载目录 3
CUSTOM_MOUNT_DIRECTORY_3=
+61
View File
@@ -0,0 +1,61 @@
additionalProperties:
formFields:
- default: "host"
edit: true
envKey: NETWORK_MODE
labelZh: 网络模式
labelEn: Network mode
required: true
type: select
values:
- label: 主机网络模式
value: "host"
- label: 桥接网络模式
value: "bridge"
- label: 无网络模式
value: "none"
- label: 1panel-network
value: "1panel-network"
- default: "/home/jellyfin"
edit: true
envKey: JELLYFIN_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8096
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI Port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: HTTP_PROXY
labelZh: HTTP(s) 网络代理
labelEn: HTTP(s) Proxy
required: false
type: text
- 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
+29
View File
@@ -0,0 +1,29 @@
networks:
1panel-network:
external: true
services:
jellyfin:
container_name: jellyfin
devices:
- /dev/dri:/dev/dri
environment:
- ROC_ENABLE_PRE_VEGA=1
- HTTPS_PROXY=${HTTP_PROXY:-}
- NO_PROXY=localhost,127.0.0.1,::1
image: jellyfin/jellyfin:10.11.0
labels:
createdBy: Apps
network_mode: ${NETWORK_MODE}
ports:
- ${PANEL_APP_PORT_HTTP}:8096
restart: always
user: 0:0
volumes:
- ${JELLYFIN_ROOT_PATH}/config:/config
- ${JELLYFIN_ROOT_PATH}/cache:/cache
- ${JELLYFIN_ROOT_PATH}/media:/media
- ${JELLYFIN_ROOT_PATH}/config/font:/config/font
- ${JELLYFIN_ROOT_PATH}/config/dejavu:/usr/share/fonts/truetype/dejavu
- ${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
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
+66
View File
@@ -0,0 +1,66 @@
#!/bin/bash
if [[ -f .env ]]; then
source .env
BASE_URL="https://f.lifebus.top/public/1panel/appstore/jellyfin/"
DEJAVU_FILES=(
"DejaVuSans.ttf"
"DejaVuSans-Bold.ttf"
"DejaVuSansMono.ttf"
"DejaVuSansMono-Bold.ttf"
"DejaVuSerif.ttf"
"DejaVuSerif-Bold.ttf"
)
FONT_FILES=(
"NotoSansMonoCJKsc-Bold.woff2"
"NotoSansMonoCJKsc-Regular.otf"
"NotoSansCJKsc-Regular.woff"
"NotoSansMonoCJKsc-Regular.woff"
"NotoSansMonoCJKsc-Regular.woff2"
"NotoSansMonoCJKsc-Bold.otf"
"NotoSansMonoCJKsc-Bold.woff"
"NotoSansCJKsc-Medium.otf"
"NotoSansCJKsc-Regular.otf"
"NotoSansCJKsc-Thin.woff2"
"NotoSansCJKsc-Thin.woff"
"NotoSansCJKsc-Regular.woff2"
"NotoSansCJKsc-Thin.otf"
"NotoSansCJKsc-Medium.woff"
"NotoSansCJKsc-Medium.woff2"
"NotoSansCJKsc-Light.woff"
"NotoSansCJKsc-Light.woff2"
"NotoSansCJKsc-Bold.otf"
"NotoSansCJKsc-Black.otf"
"NotoSansCJKsc-Light.otf"
"NotoSansCJKsc-Bold.woff"
"NotoSansCJKsc-DemiLight.otf"
"NotoSansCJKsc-Black.woff"
"NotoSansCJKsc-DemiLight.woff"
"NotoSansCJKsc-Black.woff2"
"NotoSansCJKsc-DemiLight.woff2"
"NotoSansCJKsc-Bold.woff2"
"font.css"
)
if [ ! -d "$JELLYFIN_ROOT_PATH/config/font" ]; then
mkdir -p "$JELLYFIN_ROOT_PATH/config/font"
for FILE in "${FONT_FILES[@]}"; do
wget -q "${BASE_URL}font/${FILE}" -P "$JELLYFIN_ROOT_PATH/config/font/" || echo "Failed to download $FILE, continuing..."
done
fi
if [ ! -d "$JELLYFIN_ROOT_PATH/config/dejavu" ]; then
mkdir -p "$JELLYFIN_ROOT_PATH/config/dejavu"
for FILE in "${DEJAVU_FILES[@]}"; do
wget -q "${BASE_URL}dejavu/${FILE}" -P "$JELLYFIN_ROOT_PATH/config/dejavu/" || echo "Failed to download $FILE, continuing..."
done
fi
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+66
View File
@@ -0,0 +1,66 @@
#!/bin/bash
if [[ -f .env ]]; then
source .env
BASE_URL="https://f.lifebus.top/public/1panel/appstore/jellyfin/"
DEJAVU_FILES=(
"DejaVuSans.ttf"
"DejaVuSans-Bold.ttf"
"DejaVuSansMono.ttf"
"DejaVuSansMono-Bold.ttf"
"DejaVuSerif.ttf"
"DejaVuSerif-Bold.ttf"
)
FONT_FILES=(
"NotoSansMonoCJKsc-Bold.woff2"
"NotoSansMonoCJKsc-Regular.otf"
"NotoSansCJKsc-Regular.woff"
"NotoSansMonoCJKsc-Regular.woff"
"NotoSansMonoCJKsc-Regular.woff2"
"NotoSansMonoCJKsc-Bold.otf"
"NotoSansMonoCJKsc-Bold.woff"
"NotoSansCJKsc-Medium.otf"
"NotoSansCJKsc-Regular.otf"
"NotoSansCJKsc-Thin.woff2"
"NotoSansCJKsc-Thin.woff"
"NotoSansCJKsc-Regular.woff2"
"NotoSansCJKsc-Thin.otf"
"NotoSansCJKsc-Medium.woff"
"NotoSansCJKsc-Medium.woff2"
"NotoSansCJKsc-Light.woff"
"NotoSansCJKsc-Light.woff2"
"NotoSansCJKsc-Bold.otf"
"NotoSansCJKsc-Black.otf"
"NotoSansCJKsc-Light.otf"
"NotoSansCJKsc-Bold.woff"
"NotoSansCJKsc-DemiLight.otf"
"NotoSansCJKsc-Black.woff"
"NotoSansCJKsc-DemiLight.woff"
"NotoSansCJKsc-Black.woff2"
"NotoSansCJKsc-DemiLight.woff2"
"NotoSansCJKsc-Bold.woff2"
"font.css"
)
if [ ! -d "$JELLYFIN_ROOT_PATH/config/font" ]; then
mkdir -p "$JELLYFIN_ROOT_PATH/config/font"
for FILE in "${FONT_FILES[@]}"; do
wget -q "${BASE_URL}font/${FILE}" -P "$JELLYFIN_ROOT_PATH/config/font/" || echo "Failed to download $FILE, continuing..."
done
fi
if [ ! -d "$JELLYFIN_ROOT_PATH/config/dejavu" ]; then
mkdir -p "$JELLYFIN_ROOT_PATH/config/dejavu"
for FILE in "${DEJAVU_FILES[@]}"; do
wget -q "${BASE_URL}dejavu/${FILE}" -P "$JELLYFIN_ROOT_PATH/config/dejavu/" || echo "Failed to download $FILE, continuing..."
done
fi
echo "Check Finish."
else
echo "Error: .env file not found."
fi