feat: add app WeWe-RSS

This commit is contained in:
arch3rPro
2025-07-26 23:51:38 +08:00
parent 0837955650
commit b11aec93c5
13 changed files with 464 additions and 1 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,64 @@
additionalProperties:
formFields:
- default: "wewe-rss"
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: "wewe-rss"
envKey: PANEL_DB_ROOT_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: "4000"
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:4000"
edit: true
envKey: SERVER_ORIGIN_URL
labelEn: External URL
labelZh: 外部访问地址
required: true
rule: paramExtUrl
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,45 @@
services:
wewe-rss:
image: "cooderl/wewe-rss:v2.6.1"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:4000"
environment:
- DATABASE_URL=mysql://root:${PANEL_DB_ROOT_PASSWORD}@${CONTAINER_NAME}-mysql:3306/${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}
depends_on:
- mysql
labels:
createdBy: "Apps"
mysql:
image: mysql:8.3.0
container_name: ${CONTAINER_NAME}-mysql
command: --mysql-native-password=ON
environment:
- MYSQL_ROOT_PASSWORD=${PANEL_DB_ROOT_PASSWORD}
- TZ=Asia/Shanghai
- MYSQL_DATABASE=${PANEL_DB_NAME}
volumes:
- mysql_data:/var/lib/mysql
networks:
- 1panel-network
healthcheck:
test: ['CMD', 'mysqladmin', 'ping', '-h', 'localhost']
timeout: 45s
interval: 10s
retries: 10
networks:
1panel-network:
external: true
volumes:
mysql_data: