1
0

feat:添加freshrss到列表#1655

This commit is contained in:
okxlin
2024-09-19 01:25:59 +08:00
parent 190ccfdf22
commit f00bc2b9d1
9 changed files with 197 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
CONTAINER_NAME="freshrss"
CRON_MIN="2,32"
DATA_PATH="./data/data"
EXTENSIONS_PATH="./data/extensions"
FRESHRSS_ENV="development"
PANEL_APP_PORT_HTTP=40293
TIME_ZONE="Asia/Shanghai"

View File

@@ -0,0 +1,50 @@
additionalProperties:
formFields:
- default: "40293"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "./data/data"
edit: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text
- default: "./data/extensions"
edit: true
envKey: EXTENSIONS_PATH
labelEn: Extensions Path
labelZh: 扩展路径
required: true
type: text
- default: "Asia/Shanghai"
edit: true
envKey: TIME_ZONE
labelEn: Time Zone
labelZh: 时区
required: true
type: text
- default: "2,32"
edit: true
envKey: CRON_MIN
labelEn: Cron Min
labelZh: 定时任务分钟
required: true
type: text
- default: "development"
edit: true
envKey: FRESHRSS_ENV
labelEn: Environment
labelZh: 环境
required: true
type: select
values:
- label: "Development"
value: "development"
- label: "Production"
value: "production"

View File

@@ -0,0 +1,23 @@
services:
freshrss:
image: "freshrss/freshrss:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}"
volumes:
- ${DATA_PATH}/data:/var/www/FreshRSS/data
- ${EXTENSIONS_PATH}:/var/www/FreshRSS/extensions
environment:
- TZ=${TIME_ZONE}
- CRON_MIN=${CRON_MIN}
- FRESHRSS_ENV=${FRESHRSS_ENV}
- LISTEN=0.0.0.0:${PANEL_APP_PORT_HTTP}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true