File size: 483 Bytes
8981bf6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
services:
  supportcopilot:
    build: .
    ports:
      - "8000:8000"
    environment:
      # Defaults to the offline stub. Uncomment and set a key to use a real provider.
      # - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
      # - OPENAI_API_KEY=${OPENAI_API_KEY}
      - LLM_PROVIDER=auto
    healthcheck:
      test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/healthz')"]
      interval: 30s
      timeout: 5s
      retries: 3