Last active
May 7, 2022 04:13
-
-
Save Soontao/a986a70a202991b30cf0ee8c66fda439 to your computer and use it in GitHub Desktop.
RSS stack for docker stack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
rsshub: | |
image: theosun/rsshub:latest | |
restart: always | |
command: node --max-old-space-size=250 lib/index.js | |
environment: | |
NODE_ENV: "production" | |
LOGGER_LEVEL: "warn" | |
PRE_FETCH: "false" | |
CACHE_CONTENT_EXPIRE: 43200 # 12 hours | |
deploy: | |
mode: replicated | |
replicas: 2 | |
miniflux: | |
image: thedockerimages/miniflux:latest | |
restart: always | |
ports: | |
- "43241:8080" | |
depends_on: | |
- pg | |
- rsshub | |
environment: | |
DATABASE_URL: postgres://miniflux:secret@pg/miniflux?sslmode=disable | |
RUN_MIGRATIONS: 1 | |
CREATE_ADMIN: 1 | |
ADMIN_USERNAME: "admin" | |
ADMIN_PASSWORD: "123456" | |
POLLING_PARSING_ERROR_LIMIT: 25 | |
POLLING_FREQUENCY: 10 | |
HTTP_CLIENT_TIMEOUT: 300 | |
CLEANUP_ARCHIVE_READ_DAYS: 1 | |
CLEANUP_ARCHIVE_UNREAD_DAYS: 3 | |
pg: | |
image: postgres:13 | |
restart: always | |
environment: | |
POSTGRES_USER: "miniflux" | |
POSTGRES_PASSWORD: "secret" | |
volumes: | |
- miniflux-db:/var/lib/postgresql/data | |
volumes: | |
miniflux-db: |
docker-compose --compatibility pull
docker-compose --compatibility up -d
private rsshub https://github.com/Soontao/RSSHub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
look cloud native version at: https://github.com/Soontao/rss-reader