Skip to content

Instantly share code, notes, and snippets.

@Soontao
Last active May 7, 2022 04:13
Show Gist options
  • Save Soontao/a986a70a202991b30cf0ee8c66fda439 to your computer and use it in GitHub Desktop.
Save Soontao/a986a70a202991b30cf0ee8c66fda439 to your computer and use it in GitHub Desktop.
RSS stack for docker stack
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:
@Soontao
Copy link
Author

Soontao commented Jul 5, 2021

look cloud native version at: https://github.com/Soontao/rss-reader

@Soontao
Copy link
Author

Soontao commented Nov 13, 2021

docker-compose --compatibility pull
docker-compose --compatibility up -d

@Soontao
Copy link
Author

Soontao commented Dec 12, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment