mirror of
https://github.com/QYG2297248353/appstore-dpanel
synced 2025-12-29 08:01:36 +08:00
Synced apps from source repository via GitHub Actions
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=1200
|
||||
|
||||
# 访问密钥
|
||||
ACCESS_KEY=
|
||||
|
||||
# 缓存类型 [必填]
|
||||
CACHE_TYPE=memory
|
||||
|
||||
# Redis URL 地址 (仅当缓存类型为 Redis 时)
|
||||
REDIS_URL=redis://127.0.0.1:6379/
|
||||
|
||||
# 最大缓存数量 (仅当缓存类型为内存时)
|
||||
MEMORY_MAX=256
|
||||
|
||||
# 路由缓存过期时间 (秒) [必填]
|
||||
CACHE_EXPIRE=300
|
||||
|
||||
# 内容缓存过期时间 (秒) [必填]
|
||||
CACHE_CONTENT_EXPIRE=300
|
||||
|
||||
# 代理 URL 地址
|
||||
PROXY_URI=
|
||||
|
||||
# 代理认证 (仅支持 Basic 认证)
|
||||
PROXY_AUTH=
|
||||
|
||||
# 代理 URL 正则表达式
|
||||
PROXY_URL_REGEX=.*
|
||||
|
||||
# 用户 ID
|
||||
FOLLOW_OWNER_USER_ID=
|
||||
|
||||
# 服务描述
|
||||
FOLLOW_DESCRIPTION=
|
||||
|
||||
# 月度价格 [必填]
|
||||
FOLLOW_PRICE=100
|
||||
|
||||
# 用户限制 [必填]
|
||||
FOLLOW_USER_LIMIT=100
|
||||
|
||||
@@ -0,0 +1,106 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 1200
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: ACCESS_KEY
|
||||
labelZh: 访问密钥
|
||||
labelEn: Access key
|
||||
required: false
|
||||
type: password
|
||||
- default: "memory"
|
||||
edit: true
|
||||
envKey: CACHE_TYPE
|
||||
labelZh: 缓存类型
|
||||
labelEn: Cache type
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 内存
|
||||
value: "memory"
|
||||
- label: Redis
|
||||
value: "redis"
|
||||
- default: "redis://127.0.0.1:6379/"
|
||||
edit: true
|
||||
envKey: REDIS_URL
|
||||
labelZh: Redis URL 地址 (仅当缓存类型为 Redis 时)
|
||||
labelEn: Redis URL address (only when the cache type is Redis)
|
||||
required: false
|
||||
type: text
|
||||
- default: 256
|
||||
edit: true
|
||||
envKey: MEMORY_MAX
|
||||
labelZh: 最大缓存数量 (仅当缓存类型为内存时)
|
||||
labelEn: Maximum number of caches (only when the cache type is memory)
|
||||
required: false
|
||||
type: number
|
||||
- default: 300
|
||||
edit: true
|
||||
envKey: CACHE_EXPIRE
|
||||
labelZh: 路由缓存过期时间 (秒)
|
||||
labelEn: Route cache expiration time (seconds)
|
||||
required: true
|
||||
type: number
|
||||
- default: 300
|
||||
edit: true
|
||||
envKey: CACHE_CONTENT_EXPIRE
|
||||
labelZh: 内容缓存过期时间 (秒)
|
||||
labelEn: Content cache expiration time (seconds)
|
||||
required: true
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PROXY_URI
|
||||
labelZh: 代理 URL 地址
|
||||
labelEn: Proxy URL address
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PROXY_AUTH
|
||||
labelZh: 代理认证 (仅支持 Basic 认证)
|
||||
labelEn: Proxy authentication (only supports Basic authentication)
|
||||
required: false
|
||||
type: text
|
||||
- default: ".*"
|
||||
edit: true
|
||||
envKey: PROXY_URL_REGEX
|
||||
labelZh: 代理 URL 正则表达式
|
||||
labelEn: Proxy URL regular expression
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: FOLLOW_OWNER_USER_ID
|
||||
labelZh: 用户 ID
|
||||
labelEn: User id
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: FOLLOW_DESCRIPTION
|
||||
labelZh: 服务描述
|
||||
labelEn: Service description
|
||||
required: false
|
||||
type: text
|
||||
- default: 100
|
||||
edit: true
|
||||
envKey: FOLLOW_PRICE
|
||||
labelZh: 月度价格
|
||||
labelEn: Service price
|
||||
required: true
|
||||
type: number
|
||||
- default: 100
|
||||
edit: true
|
||||
envKey: FOLLOW_USER_LIMIT
|
||||
labelZh: 用户限制
|
||||
labelEn: User limit
|
||||
required: true
|
||||
type: number
|
||||
@@ -0,0 +1,67 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
browserless:
|
||||
container_name: browserless-rsshub
|
||||
expose:
|
||||
- 3000
|
||||
healthcheck:
|
||||
interval: 30s
|
||||
retries: 3
|
||||
test:
|
||||
- CMD
|
||||
- curl
|
||||
- -f
|
||||
- http://localhost:3000/pressure
|
||||
timeout: 10s
|
||||
image: browserless/chrome
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
restart: always
|
||||
ulimits:
|
||||
core:
|
||||
hard: 0
|
||||
soft: 0
|
||||
rsshub:
|
||||
container_name: rsshub-rsshub
|
||||
depends_on:
|
||||
- browserless
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PUPPETEER_WS_ENDPOINT=ws://browserless:3000
|
||||
- PORT=1200
|
||||
- LISTEN_INADDR_ANY=1
|
||||
- REQUEST_RETRY=2
|
||||
- REQUEST_TIMEOUT=3000
|
||||
- ALLOW_ORIGIN=*
|
||||
- CACHE_CONTENT_EXPIRE=360
|
||||
- CACHE_EXPIRE=300
|
||||
- MEMORY_MAX=256
|
||||
- LOGGER_LEVEL=info
|
||||
- NO_LOGFILES=false
|
||||
- DISALLOW_ROBOT=true
|
||||
- ENABLE_CLUSTER=false
|
||||
- NODE_NAME=rsshub
|
||||
healthcheck:
|
||||
interval: 30s
|
||||
retries: 3
|
||||
test:
|
||||
- CMD
|
||||
- curl
|
||||
- -f
|
||||
- http://localhost:1200/healthz?key=${ACCESS_KEY}
|
||||
timeout: 10s
|
||||
image: diygod/rsshub:2025-08-27
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:1200
|
||||
restart: always
|
||||
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
@@ -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
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user