Update app version [skip ci]
This commit is contained in:
15
apps/rss-to-telegram-bot/2.10.0/.env.sample
Normal file
15
apps/rss-to-telegram-bot/2.10.0/.env.sample
Normal file
@@ -0,0 +1,15 @@
|
||||
BOT_TOKEN=""
|
||||
CONTAINER_NAME="rss-to-telegram-bot"
|
||||
DATA_PATH="./data"
|
||||
PANEL_APP_PORT_HTTP="40054"
|
||||
PROXY_SERVER="socks5://wgcfd:1080"
|
||||
TELEGRAM_USER_ID=""
|
||||
TELEGRAPH_API_TOKEN1=""
|
||||
TELEGRAPH_API_TOKEN2=""
|
||||
TELEGRAPH_API_TOKEN3=""
|
||||
TELEGRAPH_API_TOKEN4=""
|
||||
TELEGRAPH_API_TOKEN5=""
|
||||
TELEGRAPH_API_TOKEN6=""
|
||||
TG_API_HASH=""
|
||||
TG_API_ID=""
|
||||
USERAGENT="Mozilla/5.0 (Android 12; Mobile; rv:68.0) Gecko/68.0 Firefox/96.0"
|
||||
101
apps/rss-to-telegram-bot/2.10.0/data.yml
Normal file
101
apps/rss-to-telegram-bot/2.10.0/data.yml
Normal file
@@ -0,0 +1,101 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40054
|
||||
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 folder path
|
||||
labelZh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: BOT_TOKEN
|
||||
labelEn: Telegram Bot token (@BotFather)
|
||||
labelZh: Telegram Bot token (@BotFather)
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: TELEGRAM_USER_ID
|
||||
labelEn: Telegram user id (@userinfobot)
|
||||
labelZh: Telegram用户ID (@userinfobot)
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: TELEGRAPH_API_TOKEN1
|
||||
labelEn: Telegram api token 1
|
||||
labelZh: Telegram api token 1
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: TELEGRAPH_API_TOKEN2
|
||||
labelEn: Telegram api token 2
|
||||
labelZh: Telegram api token 2
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: TELEGRAPH_API_TOKEN3
|
||||
labelEn: Telegram api token 3
|
||||
labelZh: Telegram api token 3
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: TELEGRAPH_API_TOKEN4
|
||||
labelEn: Telegram api token 4
|
||||
labelZh: Telegram api token 4
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: TELEGRAPH_API_TOKEN5
|
||||
labelEn: Telegram api token 5
|
||||
labelZh: Telegram api token 5
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: TELEGRAPH_API_TOKEN6
|
||||
labelEn: Telegram api token 6
|
||||
labelZh: Telegram api token 6
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: TG_API_ID
|
||||
labelEn: Telegram api id (https://core.telegram.org/api/obtaining_api_id)
|
||||
labelZh: Telegram api id (https://core.telegram.org/api/obtaining_api_id)
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: TG_API_HASH
|
||||
labelEn: Telegram api hash
|
||||
labelZh: Telegram api hash
|
||||
required: false
|
||||
type: text
|
||||
- default: "Mozilla/5.0 (Android 12; Mobile; rv:68.0) Gecko/68.0 Firefox/96.0"
|
||||
edit: true
|
||||
envKey: USERAGENT
|
||||
labelEn: User-Agent
|
||||
labelZh: User-Agent
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PROXY_SERVER
|
||||
labelEn: SOCKS5 Proxy (socks5://172.17.0.1:1080)
|
||||
labelZh: SOCKS5代理 (socks5://172.17.0.1:1080)
|
||||
required: false
|
||||
type: text
|
||||
47
apps/rss-to-telegram-bot/2.10.0/docker-compose.yml
Normal file
47
apps/rss-to-telegram-bot/2.10.0/docker-compose.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
services:
|
||||
rsstgbot:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
volumes:
|
||||
- "${DATA_PATH}:/app/config"
|
||||
environment:
|
||||
- TOKEN=${BOT_TOKEN} # get it from @BotFather
|
||||
- MANAGER=${TELEGRAM_USER_ID} # get it from @userinfobot
|
||||
- TELEGRAPH_TOKEN=
|
||||
${TELEGRAPH_API_TOKEN1}
|
||||
${TELEGRAPH_API_TOKEN2}
|
||||
${TELEGRAPH_API_TOKEN3}
|
||||
${TELEGRAPH_API_TOKEN4}
|
||||
${TELEGRAPH_API_TOKEN5}
|
||||
${TELEGRAPH_API_TOKEN6}
|
||||
- MULTIUSER=1 # default: 1
|
||||
- CRON_SECOND=0 # 0-59, default: 0
|
||||
#- DATABASE_URL=postgres://username:password@host:port/db_name # default: sqlite://path/to/config/db.sqlite3
|
||||
- API_ID=${TG_API_ID} # get it from https://core.telegram.org/api/obtaining_api_id
|
||||
- API_HASH=${TG_API_HASH} # get it from https://core.telegram.org/api/obtaining_api_id
|
||||
#- IMG_RELAY_SERVER=https://wsrv.nl/?url= # default: https://rsstt-img-relay.rongrong.workers.dev/
|
||||
#- IMAGES_WESERV_NL=https://t0.nl/ # default: https://wsrv.nl/
|
||||
- USER_AGENT=${USERAGENT} # default: RSStT/2.2 RSS Reader
|
||||
#- IPV6_PRIOR=1 # default: 0
|
||||
- T_PROXY=${PROXY_SERVER} # Proxy used to connect to the Telegram API
|
||||
- R_PROXY=${PROXY_SERVER} # Proxy used to fetch feeds
|
||||
#- PROXY_BYPASS_PRIVATE=1 # default: 0
|
||||
#- PROXY_BYPASS_DOMAINS=example.com;example.net
|
||||
- HTTP_TIMEOUT=30 # default: 12
|
||||
- HTTP_CONCURRENCY=1024 # default: 1024
|
||||
- HTTP_CONCURRENCY_PER_HOST=16 # default: 16
|
||||
#- TABLE_TO_IMAGE=1 # default: 0
|
||||
#- TRAFFIC_SAVING=1 # default: 0
|
||||
#- LAZY_MEDIA_VALIDATION=1 # default: 0
|
||||
#- MANAGER_PRIVILEGED=1 # default: 0
|
||||
#- NO_UVLOOP=1 # default: 0
|
||||
#- MULTIPROCESSING=1 # default: 0
|
||||
#- DEBUG=1 # debug logging, default: 0
|
||||
image: rongronggg9/rss-to-telegram:2.10.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user