services: backend: build: context: ./backend dockerfile: Dockerfile ports: - "8000:8000" environment: - PYTHONUNBUFFERED=1 - ANONYMIZED_TELEMETRY=False volumes: - ./backend:/app frontend: build: context: ./frontend dockerfile: Dockerfile ports: - "3000:3000" environment: - BACKEND_URL=http://backend:8000 volumes: - ./frontend:/app - /app/node_modules - /app/.next depends_on: - backend