version: "3.9" services: agent-gateway: build: context: ./packages/agent-gateway dockerfile: Dockerfile ports: - "3001:3001" environment: - PORT=3001 - NODE_ENV=production - LLM_PROVIDER=${LLM_PROVIDER:-claude} - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} - OPENAI_API_KEY=${OPENAI_API_KEY} - OLLAMA_BASE_URL=${OLLAMA_BASE_URL:-http://host.docker.internal:11434} - OLLAMA_MODEL=${OLLAMA_MODEL:-llama3} - ALLOWED_ORIGINS=http://localhost:5173,http://localhost:80 restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3001/api/health"] interval: 30s timeout: 10s retries: 3 web: build: context: ./apps/web dockerfile: Dockerfile ports: - "80:80" depends_on: - agent-gateway restart: unless-stopped