Docker Compose 配置文件: 1version: "3"2 3services:4 miniflux:5 image: miniflux/miniflux:latest6 ports:7 - "127.0.0.1:8080:8080"8 depends_on:9 db:10 condition: service_healthy11 environment:12 - DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable13 - RUN_MIGRATIONS=114 - CREATE_ADMIN=115 - ADMIN_USERNAME=admin16 - ADMIN_PASSWORD=test12317 - BASE_URL=通过 Nginx 访问的域名18 db:19 image: postgres:latest20 environment:21 - POSTGRES_USER=miniflux22 - POSTGRES_PASSWORD=secret23 volumes:24 - /data/postgres:/var/lib/postgresql/data25 healthcheck:26 test: ["CMD", "pg_isready", "-U", "miniflux"]27 interval: 10s28 start_period: 30s 如果需要通过 Nginx 代理,可以在 Docker Compose 增加 nginx.yml|nginx 配置。 参考 Miniflux Installation with Docker Configuration Parameters