services: api: build: context: ./backend dockerfile: Dockerfile ports: - "8000:8000" env_file: - ./backend/.env volumes: - attest-data:/app/demo_assets - attest-db:/app healthcheck: test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/api/health')"] interval: 10s timeout: 5s retries: 3 web: build: context: ./frontend dockerfile: Dockerfile ports: - "3000:3000" environment: NEXT_PUBLIC_API_URL: http://localhost:8000 depends_on: api: condition: service_healthy volumes: attest-data: attest-db: