mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-16 17:27:11 +08:00
feat: add app WeWe-RSS
This commit is contained in:
9
apps/wewe-rss/2.6.1-sqlite/.env.sample
Normal file
9
apps/wewe-rss/2.6.1-sqlite/.env.sample
Normal file
@@ -0,0 +1,9 @@
|
||||
AUTH_CODE="password"
|
||||
CONTAINER_NAME="wewe-rss"
|
||||
CRON_EXPRESSION="35 5,17 * * *"
|
||||
DATABASE_TYPE="sqlite"
|
||||
DATA_PATH="./data"
|
||||
FEED_MODE="fulltext"
|
||||
MAX_REQUEST_PER_MINUTE=60
|
||||
PANEL_APP_PORT_HTTP=40332
|
||||
SERVER_ORIGIN_URL="http://1.2.3.4:40332"
|
||||
62
apps/wewe-rss/2.6.1-sqlite/data.yml
Normal file
62
apps/wewe-rss/2.6.1-sqlite/data.yml
Normal file
@@ -0,0 +1,62 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "40332"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "./data"
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data Path
|
||||
labelZh: 数据路径
|
||||
required: true
|
||||
type: text
|
||||
- default: "sqlite"
|
||||
disabled: true
|
||||
envKey: DATABASE_TYPE
|
||||
labelEn: Database Type
|
||||
labelZh: 数据库类型
|
||||
required: true
|
||||
type: text
|
||||
- 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
|
||||
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
|
||||
24
apps/wewe-rss/2.6.1-sqlite/docker-compose.yml
Normal file
24
apps/wewe-rss/2.6.1-sqlite/docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
services:
|
||||
wewe-rss:
|
||||
image: "cooderl/wewe-rss-sqlite:v2.6.1"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:4000"
|
||||
environment:
|
||||
- DATABASE_TYPE=${DATABASE_TYPE}
|
||||
- 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}
|
||||
volumes:
|
||||
- ${DATA_PATH}:/app/data
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user