services: backend: build: context: . # Project root (contains audio_splitter/) dockerfile: web/backend/Dockerfile ports: - "8000:8000" volumes: - /tmp/audio_splitter_web:/tmp/audio_splitter_web environment: - PYTHONUNBUFFERED=1 - DEBUG=1 restart: unless-stopped frontend: build: context: ./web/frontend dockerfile: Dockerfile.dev ports: - "5173:5173" volumes: - ./web/frontend:/app - /app/node_modules environment: - BACKEND_URL=http://backend:8000 - VITE_BACKEND_URL=http://backend:8000 depends_on: - backend restart: unless-stopped