TCETMILI/PassportExtractor
1
1services:2 backend:3 build:4 context: .5 dockerfile: Dockerfile.backend6 environment:7 - OPENAI_API_KEY=${OPENAI_API_KEY}8 - LLM_MODEL=${LLM_MODEL:-gpt-4o}9 ports:10 - "8000:8000"11 volumes:12 - ./output:/app/output13 - ./backend:/app/backend14 restart: unless-stopped15 healthcheck:16 test: [ "CMD", "curl", "-f", "http://localhost:8000/health" ]17 interval: 30s18 timeout: 10s19 retries: 320 start_period: 40s21 22 frontend_v2:23 build:24 context: .25 dockerfile: Dockerfile.frontend_v226 args:27 # Use /api to proxy through nginx to backend28 - VITE_BACKEND_URL=/api29 - VITE_DEPLOYMENT_MODE=WEB30 depends_on:31 - backend32 ports:33 - "3000:80"34 restart: unless-stopped35 healthcheck:36 test: [ "CMD", "wget", "-q", "--spider", "http://localhost/health" ]37 interval: 30s38 timeout: 5s39 retries: 340 