🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
742 B
YAML
29 lines
742 B
YAML
services:
|
|
backend:
|
|
build:
|
|
context: ..
|
|
dockerfile: app/backend/Dockerfile
|
|
ports:
|
|
- "8001:8000"
|
|
environment:
|
|
- DB_PATH=/data
|
|
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
|
|
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
|
|
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL:-http://host.docker.internal:11434}
|
|
- LOGFIRE_TOKEN=${LOGFIRE_TOKEN:-}
|
|
volumes:
|
|
- ${DB_PATH:-./data/haiku.rag.lancedb}:/data
|
|
- ./haiku.rag.yaml:/app/haiku.rag.yaml:ro
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
frontend:
|
|
build:
|
|
context: frontend
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- BACKEND_URL=http://backend:8000
|
|
depends_on:
|
|
- backend
|