Synced apps from source repository via GitHub Actions

This commit is contained in:
QYG2297248353
2024-12-04 03:08:24 +00:00
parent c472f6b912
commit e8d6cc738d
1394 changed files with 42558 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
# 数据持久化路径 [必填]
READER3_ROOT_PATH=/home/reader3
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=8080
# 管理员 密码 [必填]
READER_APP_SECUREKEY=
# 邀请码
READER_APP_INVITECODE=
# 缓存章节内容 [必填]
READER_APP_CACHECHAPTERCONTENT=true
# 自动清理不活跃用户 (天) [必填]
READER_APP_AUTOCLEARINACTIVEUSER=0
# 远程 WebView API 地址 (插件)
READER_APP_REMOTEWEBVIEWAPI=
# 新用户默认启用 WebDAV [必填]
READER_APP_DEFAULTUSERENABLEWEBDAV=false
# 新用户默认启用 LocalStore [必填]
READER_APP_DEFAULTUSERENABLELOCALSTORE=false
# 允许新用户编辑书源 [必填]
READER_APP_DEFAULTUSERENABLEBOOKSOURCE=false
# 允许新用户编辑 RSS 源 [必填]
READER_APP_DEFAULTUSERENABLERSSSOURCE=false
# 新用户书源数量限制 [必填]
READER_APP_DEFAULTUSERBOOKSOURCELIMIT=200
# 用户密码最小长度 [必填]
READER_APP_minUserPasswordLength=8
+119
View File
@@ -0,0 +1,119 @@
additionalProperties:
formFields:
- default: "/home/reader3"
edit: true
envKey: READER3_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8080
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: READER_APP_SECUREKEY
labelZh: 管理员 密码
labelEn: Admin Password
required: true
type: password
- default: ""
edit: true
envKey: READER_APP_INVITECODE
labelZh: 邀请码
labelEn: Invite Code
required: false
type: text
- default: "true"
edit: true
envKey: READER_APP_CACHECHAPTERCONTENT
labelZh: 缓存章节内容
labelEn: Cache Chapter Content
required: true
type: select
values:
- label: 开启
value: "true"
- label: 关闭
value: "false"
- default: 0
edit: true
envKey: READER_APP_AUTOCLEARINACTIVEUSER
labelZh: 自动清理不活跃用户 (天)
labelEn: Auto Clear Inactive User (Days)
required: true
type: number
- default: ""
edit: true
envKey: READER_APP_REMOTEWEBVIEWAPI
labelZh: 远程 WebView API 地址 (插件)
labelEn: Remote WebView API Address (Plugin)
required: false
type: text
- default: "false"
edit: true
envKey: READER_APP_DEFAULTUSERENABLEWEBDAV
labelZh: 新用户默认启用 WebDAV
labelEn: New User Default Enable WebDAV
required: true
type: select
values:
- label: 启用
value: "true"
- label: 禁用
value: "false"
- default: "false"
edit: true
envKey: READER_APP_DEFAULTUSERENABLELOCALSTORE
labelZh: 新用户默认启用 LocalStore
labelEn: New User Default Enable LocalStore
required: true
type: select
values:
- label: 启用
value: "true"
- label: 禁用
value: "false"
- default: "false"
edit: true
envKey: READER_APP_DEFAULTUSERENABLEBOOKSOURCE
labelZh: 允许新用户编辑书源
labelEn: Allow New User Edit Book Source
required: true
type: select
values:
- label: 允许
value: "true"
- label: 禁止
value: "false"
- default: "false"
edit: true
envKey: READER_APP_DEFAULTUSERENABLERSSSOURCE
labelZh: 允许新用户编辑 RSS 源
labelEn: Allow New User Edit RSS Source
required: true
type: select
values:
- label: 允许
value: "true"
- label: 禁止
value: "false"
- default: 200
edit: true
envKey: READER_APP_DEFAULTUSERBOOKSOURCELIMIT
labelZh: 新用户书源数量限制
labelEn: New User Book Source Limit
required: true
type: number
- default: 8
edit: true
envKey: READER_APP_minUserPasswordLength
labelZh: 用户密码最小长度
labelEn: User Password Min Length
required: true
type: number
+28
View File
@@ -0,0 +1,28 @@
networks:
1panel-network:
external: true
services:
reader3:
container_name: reader3
env_file:
- ./envs/global.env
- .env
environment:
- SPRING_PROFILES_ACTIVE=prod
- READER_SERVER_PORT=8080
- READER_SERVER_CONTEXTPATH=${READER_SERVER_CONTEXTPATH:-}
- READER_APP_USERLIMIT=50
- READER_APP_SECURE=true
- READER_APP_SHELFUPDATEINTEVAL=10
- READER_APP_REMOTEBOOKSOURCEUPDATEINTERVAL=720
image: hectorqin/reader:3.2.11
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:8080
restart: always
volumes:
- ${READER3_ROOT_PATH}/logs:/logs
- ${READER3_ROOT_PATH}/storage:/storage
+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
+17
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
+10
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
+17
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