- Add ANTHROPIC_API_KEY env passthrough in docker-compose.yml - Add astro telemetry and devToolbar disable settings - Update CLAUDE.md with deployment notes
23 lines
532 B
YAML
23 lines
532 B
YAML
services:
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
env_file: .env
|
|
volumes:
|
|
- ./notebooks:/app/notebooks
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health')"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
env_file: .env
|
|
environment:
|
|
- PUBLIC_API_URL=https://${SPICEBOOK_DOMAIN:-localhost:4321}
|
|
depends_on:
|
|
backend:
|
|
condition: service_healthy
|