mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
feat: add RSSHub
This commit is contained in:
parent
2c45327e6d
commit
1ddf0b13d3
50
blueprints/rsshub/docker-compose.yml
Normal file
50
blueprints/rsshub/docker-compose.yml
Normal file
@ -0,0 +1,50 @@
|
||||
services:
|
||||
rsshub:
|
||||
# two ways to enable puppeteer:
|
||||
# * comment out marked lines, then use this image instead: diygod/rsshub:chromium-bundled
|
||||
# * (consumes more disk space and memory) leave everything unchanged
|
||||
image: diygod/rsshub
|
||||
restart: always
|
||||
ports:
|
||||
- 1200
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
CACHE_TYPE: redis
|
||||
REDIS_URL: "redis://redis:6379/"
|
||||
PUPPETEER_WS_ENDPOINT: "ws://browserless:3000" # marked
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:1200/healthz"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
depends_on:
|
||||
- redis
|
||||
- browserless # marked
|
||||
|
||||
browserless: # marked
|
||||
image: browserless/chrome # marked
|
||||
restart: always # marked
|
||||
ulimits: # marked
|
||||
core: # marked
|
||||
hard: 0 # marked
|
||||
soft: 0 # marked
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3000/pressure"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 5s
|
||||
|
||||
volumes:
|
||||
redis-data:
|
BIN
blueprints/rsshub/rsshub.png
Normal file
BIN
blueprints/rsshub/rsshub.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
12
blueprints/rsshub/template.toml
Normal file
12
blueprints/rsshub/template.toml
Normal file
@ -0,0 +1,12 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
serviceName = "rsshub"
|
||||
port = 1200
|
||||
host = "${main_domain}"
|
||||
|
||||
[[config.env]]
|
||||
|
||||
[[config.mounts]]
|
17
meta.json
17
meta.json
@ -2553,5 +2553,22 @@
|
||||
"community",
|
||||
"privacy"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "rsshub",
|
||||
"name": "RSSHub",
|
||||
"version": "1.0.0",
|
||||
"description": "RSSHub is the world's largest RSS network, consisting of over 5,000 global instances.RSSHub delivers millions of contents aggregated from all kinds of sources, our vibrant open source community is ensuring the deliver of RSSHub's new routes, new features and bug fixes.",
|
||||
"logo": "rsshub.png",
|
||||
"links": {
|
||||
"github": "https://github.com/DIYgod/RSSHub",
|
||||
"website": "https://rsshub.app/",
|
||||
"docs": "https://docs.rsshub.app/"
|
||||
},
|
||||
"tags": [
|
||||
"rss",
|
||||
"api",
|
||||
"self-hosted"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user