精简提交历史记录
This commit is contained in:
5
apps/rsshub/latest/.env.sample
Normal file
5
apps/rsshub/latest/.env.sample
Normal file
@@ -0,0 +1,5 @@
|
||||
CONTAINER_NAME="rsshub"
|
||||
PANEL_APP_PORT_HTTP="40062"
|
||||
REDIS_HOST="127.0.0.1"
|
||||
REDIS_PORT="6379"
|
||||
REDIS_PASS="Redis_PWD"
|
||||
36
apps/rsshub/latest/data.yml
Normal file
36
apps/rsshub/latest/data.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40062
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: REDIS_HOST
|
||||
key: redis
|
||||
labelEn: Redis Service
|
||||
labelZh: Redis服务
|
||||
required: true
|
||||
type: service
|
||||
- default: "6379"
|
||||
edit: true
|
||||
envKey: REDIS_PORT
|
||||
labelEn: Redis Service Port
|
||||
labelZh: Redis服务端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: REDIS_PASS
|
||||
labelEn: Redis Service Password
|
||||
labelZh: Redis服务密码
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: password
|
||||
|
||||
|
||||
36
apps/rsshub/latest/docker-compose.yml
Normal file
36
apps/rsshub/latest/docker-compose.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
version: '3'
|
||||
services:
|
||||
rsshub:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:1200"
|
||||
environment:
|
||||
- "NODE_ENV=production"
|
||||
- "CACHE_TYPE=redis"
|
||||
- "REDIS_URL=redis://:${REDIS_PASS}@${REDIS_HOST}:${REDIS_PORT}"
|
||||
- "PUPPETEER_WS_ENDPOINT=ws://rsshub-browserless:3000"
|
||||
image: diygod/rsshub:latest
|
||||
depends_on:
|
||||
- rsshub-browserless
|
||||
labels:
|
||||
createdBy: Apps
|
||||
|
||||
rsshub-browserless:
|
||||
container_name: ${CONTAINER_NAME}-browserless
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ulimits:
|
||||
core:
|
||||
hard: 0
|
||||
soft: 0
|
||||
image: browserless/chrome:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user