version: '3' services: agentic-defensor: build: . ports: - "8000:8000" volumes: - ./data:/app/data - ./embeddings:/app/embeddings - ./pdfs:/app/pdfs environment: - OPENAI_API_KEY=${OPENAI_API_KEY} restart: unless-stopped command: api healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000"] interval: 30s timeout: 10s retries: 3 start_period: 20s # Uncomment this service if you want to add a simple UI # ui: # image: nginx:alpine # ports: # - "80:80" # volumes: # - ./ui:/usr/share/nginx/html # restart: unless-stopped # depends_on: # - agentic-defensor