mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-08-31 01:01:11 +08:00
7a6be9a229
* feat(core): customizable Chromium executable path also build Chromium-bundled Docker image for arm/arm64 Signed-off-by: Rongrong <i@rong.moe> * chore: fix typo Signed-off-by: Rongrong <i@rong.moe> * chore(CI/test): using build matrix Signed-off-by: Rongrong <i@rong.moe> * docs(install): fix punctuation Signed-off-by: Rongrong <i@rong.moe>
37 lines
976 B
YAML
37 lines
976 B
YAML
version: '3'
|
|
|
|
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:1200'
|
|
environment:
|
|
NODE_ENV: production
|
|
CACHE_TYPE: redis
|
|
REDIS_URL: 'redis://redis:6379/'
|
|
PUPPETEER_WS_ENDPOINT: 'ws://browserless:3000' # marked
|
|
depends_on:
|
|
- redis
|
|
- browserless # marked
|
|
|
|
browserless: # marked
|
|
image: browserless/chrome # marked
|
|
restart: always # marked
|
|
ulimits: # marked
|
|
core: # marked
|
|
hard: 0 # marked
|
|
soft: 0 # marked
|
|
|
|
redis:
|
|
image: redis:alpine
|
|
restart: always
|
|
volumes:
|
|
- redis-data:/data
|
|
|
|
volumes:
|
|
redis-data:
|