File size: 1,192 Bytes
aad7814
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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: