1
0

精简提交历史记录

This commit is contained in:
okxlin
2023-11-09 19:15:01 +08:00
commit 691aa7aac9
1529 changed files with 800341 additions and 0 deletions

View 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"

View 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

View 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