services: mineru-gui: build: context: . args: MINERU_IMAGE: ${MINERU_IMAGE:-mineru:latest} image: mineru-archival-gui:${GUI_VERSION:-0.1.0} ports: - "127.0.0.1:${GUI_PORT:-8090}:8080" environment: MINERU_GUI_DATA: /data MINERU_GUI_OPEN_FOLDER: ${MINERU_GUI_OPEN_FOLDER:-false} MINERU_MODEL_SOURCE: ${MINERU_MODEL_SOURCE:-local} volumes: - ./data:/data restart: unless-stopped healthcheck: test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/api/health', timeout=5)"] interval: 15s timeout: 6s retries: 5 start_period: 30s