services: miniflux: image: miniflux/miniflux:2.3.4 restart: unless-stopped environment: DATABASE_URL: postgres://miniflux:${POSTGRES_PASSWORD}@postgres/miniflux?sslmode=disable RUN_MIGRATIONS: "1" # The administrator is made from these before Miniflux answers, the first time only; there # is no sign-up, so the other accounts are made by it under Settings → Users. CREATE_ADMIN: "1" ADMIN_USERNAME: ${ADMIN_USERNAME} ADMIN_PASSWORD: ${ADMIN_PASSWORD} BASE_URL: ${URL} depends_on: postgres: condition: service_healthy healthcheck: test: ["CMD", "/usr/bin/miniflux", "-healthcheck", "auto"] interval: 10s timeout: 5s retries: 3 start_period: 30s postgres: image: postgres:18-alpine restart: unless-stopped environment: POSTGRES_DB: miniflux POSTGRES_USER: miniflux POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} volumes: - db:/var/lib/postgresql healthcheck: test: ["CMD-SHELL", "pg_isready -h 127.0.0.1 -U miniflux -d miniflux"] interval: 5s timeout: 5s retries: 10 start_period: 30s volumes: db: