- ADR-0001: Multi-Agent Coworking Architecture with LLM Gateway Orchestrator - ADR-0002: Tier Assignment Strategy for Model Selection (cost-first escalation) - ADR-0003: Confidence Gate Thresholds & Learning Cycle Intervals (6h/12h/24h cycles) - ADR-0004: External Provider Fallback Chain Ordering (Cerebras → Groq → Mistral) - Enhanced client SDK: Offline Ollama fallback, health checks, exponential backoff retry - Integration tests: claude-code-integration.test.ts (14 test cases) - PHASE_2F_DEPLOYMENT.md: Pre-deployment checklist, automated deploy, rollback plan - Post-deployment verification procedures for health, client fallback, metrics
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
services:
|
|
llm-gateway:
|
|
build: .
|
|
container_name: llm-gateway
|
|
ports:
|
|
- "3100:3100"
|
|
environment:
|
|
NODE_ENV: production
|
|
PORT: "3100"
|
|
DATABASE_URL: "${DATABASE_URL}"
|
|
TIP_DATABASE_URL: "postgresql://tip:tip_prod_2026@82.165.222.127:5433/transceiver_db"
|
|
OLLAMA_URL: "http://192.168.178.169:11434"
|
|
SHIELDX_URL: "${SHIELDX_URL:-}"
|
|
GITEA_URL: "http://gitea.context-x.org"
|
|
LOG_LEVEL: "${LOG_LEVEL:-info}"
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-q", "-O-", "http://localhost:3100/health/live"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
networks:
|
|
- gateway-net
|
|
|
|
llm-learning:
|
|
build:
|
|
context: packages/learning
|
|
dockerfile: Dockerfile
|
|
container_name: llm-learning
|
|
environment:
|
|
DATABASE_URL: "${DATABASE_URL}"
|
|
GATEWAY_URL: "http://llm-gateway:3100"
|
|
restart: unless-stopped
|
|
depends_on:
|
|
llm-gateway:
|
|
condition: service_healthy
|
|
networks:
|
|
- gateway-net
|
|
|
|
networks:
|
|
gateway-net:
|
|
driver: bridge
|