Spaces:
Runtime error

File size: 717 Bytes
253fba4
 
 
 
 
 
 
 
 
57dda9e
253fba4
 
57dda9e
253fba4
 
 
 
 
 
 
 
 
57dda9e
253fba4
 
 
 
 
 
 
 
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
version: '3.8'

services:
  claim-processing-app:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: gig-kwt-claim-processing
    ports:
      - "${PORT:-8080}:8080"
    environment:
      - GEMINI_API_KEY=${GEMINI_API_KEY}
      - PORT=${PORT:-8080}
    env_file:
      - .env
    restart: unless-stopped
    volumes:
      # Optional: Mount for logs or persistent data
      - ./logs:/app/logs
    networks:
      - claim-processing-network
    healthcheck:
      test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:8080')"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 5s

networks:
  claim-processing-network:
    driver: bridge