File size: 1,046 Bytes
0d4b34d | 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 33 34 35 36 37 38 39 40 | # LegalSync local development stack (mirrors 70-mlops-governance observability)
version: '3.8'
services:
legalsync:
build: .
ports:
- "8000:8000"
environment:
- PORT=8000
- DATAROBOT_API_KEY=${DATAROBOT_API_KEY}
- GROQ_API_KEY=${GROQ_API_KEY}
volumes:
- ./config:/app/config:ro
healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
# Secondary Brain (50-intelligence quality)
lighthouse:
image: patrickhulce/lhci-client
depends_on: [legalsync]
command: lhci autorun --collect.url=http://legalsync:8000 --config=./lighthouserc.json
volumes:
- ./:/app
- ./reports:/app/reports
# Observability (70-mlops-governance)
prometheus:
image: prom/prometheus
ports: ["9090:9090"]
volumes: ["./observability/prometheus.yml:/etc/prometheus/prometheus.yml"]
grafana:
image: grafana/grafana
ports: ["3000:3000"]
depends_on: [prometheus]
|