# RICS Report Genius — v2 demo stack (backend + UI) # # Quick start: # cp .env.example .env # # Set OPENAI_API_KEY for medium/maximum AI and photo vision # docker compose -f docker-compose.v2.yml up --build # open http://localhost:8000 # version: "3.9" services: v2-api: build: context: . dockerfile: Dockerfile.v2 image: rics-v2-demo:latest container_name: rics_v2_demo ports: - "8000:8000" environment: PORT: "8000" DATA_DIR: /data OPENAI_API_KEY: "${OPENAI_API_KEY:-}" JWT_SECRET: "${JWT_SECRET:-demo-jwt-secret-change-me}" MASTER_TEMPLATE_DIR: "/app/Master Standard report and paragraphs" MASTER_TEMPLATE_AUTO_INGEST: "true" REFERENCE_AUTO_INGEST_ENABLED: "true" REFERENCE_AUTO_INGEST_GLOBS: "*.pdf,*.docx,*.doc" DEFAULT_TENANT_ID: default SECTION_PHOTO_VISION_ENABLED: "${SECTION_PHOTO_VISION_ENABLED:-true}" AI_TRANSPARENCY_FOOTER_ENABLED: "true" volumes: - v2_data:/data healthcheck: test: ["CMD", "curl", "-fsS", "http://localhost:8000/health"] interval: 30s timeout: 10s retries: 5 start_period: 120s volumes: v2_data: