services: miniflux: image: miniflux/miniflux:latest ports: - "7001:8080" depends_on: db: condition: service_healthy environment: - DATABASE_URL=postgres://miniflux:SECRET@db/miniflux?sslmode=disable - RUN_MIGRATIONS=1 - CREATE_ADMIN=1 - ADMIN_USERNAME=admin - ADMIN_PASSWORD=password db: image: postgres:15 environment: - POSTGRES_USER=miniflux - POSTGRES_PASSWORD=SECRET #password uguale a quella nel DATABASE_URL volumes: - /docker/miniflux/db:/var/lib/postgresql/data healthcheck: test: ["CMD", "pg_isready", "-U", "miniflux"] interval: 10s start_period: 30s volumes: miniflux-db: