Skip to content

Instantly share code, notes, and snippets.

@syhily
Last active October 26, 2022 11:42
Show Gist options
  • Save syhily/e10d7eb0f449bde8ea81517584388cb5 to your computer and use it in GitHub Desktop.
Save syhily/e10d7eb0f449bde8ea81517584388cb5 to your computer and use it in GitHub Desktop.
Miniflux on Synology Docker
version: "3.4"
services:
miniflux:
image: miniflux/miniflux:latest
container_name: miniflux
depends_on:
- rsshub
- postgres
ports:
- 1541:8080
environment:
- DEBUG
- WORKER_POOL_SIZE=5
- POLLING_FREQUENCY=45
- BATCH_SIZE=50
- RUN_MIGRATIONS=1
# Modify this line
- BASE_URL=https://rss.yufan.run/
- DATABASE_URL= postgres://miniflux:BCz6KZh7iYJrX1w1@postgres/miniflux?sslmode=disable
- DATABASE_MAX_CONNS=20
- DATABASE_MIN_CONNS=1
- CLEANUP_ARCHIVE_READ_DAYS=100
- PORT=8080
- CREATE_ADMIN=1
# Add you admin username
- ADMIN_USERNAME=
# Add you admin password
- ADMIN_PASSWORD=
- HTTP_CLIENT_TIMEOUT=60
restart: always
postgres:
image: postgres:latest
container_name: miniflux_db
environment:
- POSTGRES_USER=miniflux
- POSTGRES_PASSWORD=BCz6KZh7iYJrX1w1
- POSTGRES_DB=miniflux
volumes:
# Modify this line.
- /volume1/docker/miniflux/postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "miniflux"]
interval: 10s
start_period: 30s
restart: always
rsshub:
image: diygod/rsshub:latest
container_name: rsshub
ports:
- "1200:1200"
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment