version: "3.8" services: backend: build: context: ./docker dockerfile: Dockerfile.backend ports: - "8000:8000" volumes: - ./data:/app/data environment: - DATABASE_PATH=/app/data/wikidata.db - DUMP_PATH=/app/data/dump.json.bz2 healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/health"] interval: 30s timeout: 10s retries: 3 frontend: build: context: ./docker dockerfile: Dockerfile.frontend ports: - "3000:3000" depends_on: - backend environment: - API_URL=http://backend:8000 volumes: data: