1
0

feat:添加wewe-rss到列表

This commit is contained in:
okxlin
2024-12-12 14:34:58 +08:00
parent a5d4ee30fc
commit 3027be5e0c
12 changed files with 363 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
AUTH_CODE="password"
CONTAINER_NAME="wewe-rss"
CRON_EXPRESSION="35 5,17 * * *"
FEED_MODE="fulltext"
MAX_REQUEST_PER_MINUTE=60
PANEL_APP_PORT_HTTP=40332
PANEL_DB_HOST="mysql"
PANEL_DB_HOST_NAME="mysql"
PANEL_DB_NAME="wewe-rss"
PANEL_DB_PORT=3306
PANEL_DB_TYPE="mysql"
PANEL_DB_USER="wewe-rss"
PANEL_DB_USER_PASSWORD="wewe-rss"
SERVER_ORIGIN_URL="http://1.2.3.4:40332"

View File

@@ -0,0 +1,88 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: mysql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
values:
- label: MySQL
value: mysql
- label: LocalMySQL
value: localmysql
- default: "wewe-rss"
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: "wewe-rss"
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: "wewe-rss"
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: "40332"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "password"
edit: true
envKey: AUTH_CODE
labelEn: Auth Code
labelZh: 授权码
random: true
required: true
rule: paramComplexity
type: password
- default: "http://1.2.3.4:40332"
edit: true
envKey: SERVER_ORIGIN_URL
labelEn: External URL
labelZh: 外部访问地址
required: true
type: text
- default: "fulltext"
edit: true
envKey: FEED_MODE
labelEn: Feed Mode
labelZh: 提取模式
required: false
type: text
- default: "35 5,17 * * *"
edit: true
envKey: CRON_EXPRESSION
labelEn: Cron Expression
labelZh: 定时更新表达式
required: false
type: text
- default: "60"
edit: true
envKey: MAX_REQUEST_PER_MINUTE
labelEn: Max Requests Per Minute
labelZh: 每分钟最大请求次数
required: false
type: number

View File

@@ -0,0 +1,22 @@
services:
wewe-rss:
image: "cooderl/wewe-rss:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:4000"
environment:
- DATABASE_URL=${PANEL_DB_TYPE}://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}?schema=public&connect_timeout=30&pool_timeout=30&socket_timeout=30
- AUTH_CODE=${AUTH_CODE}
- FEED_MODE=${FEED_MODE}
- CRON_EXPRESSION=${CRON_EXPRESSION}
- MAX_REQUEST_PER_MINUTE=${MAX_REQUEST_PER_MINUTE}
- SERVER_ORIGIN_URL=${SERVER_ORIGIN_URL}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true