version: "3.8" services: db: container_name: miniflux-db image: postgres:13-alpine restart: always env_file: .env volumes: - ${POSTGRES_DATA:-/home/docker/miniflux/db}:/var/lib/postgresql/data - /etc/localtime:/etc/localtime:ro healthcheck: test: ["CMD", "pg_isready", "-U", "miniflux"] interval: 1m30s timeout: 10s retries: 3 start_period: 10s feeder: container_name: miniflux image: ghcr.io/miniflux/miniflux restart: unless-stopped depends_on: - db ports: - ${MINIFLUX_WEBUI_PORT:-8080}:8080 env_file: .env healthcheck: test: ["CMD", "/usr/bin/miniflux", "-healthcheck", "auto"]