version: '3.8' services: backend: build: ./dubbing_backend ports: - "8000:8000" volumes: - ./dubbing_backend/workspace:/app/workspace environment: - PYTHONUNBUFFERED=1 deploy: resources: reservations: devices: - driver: nvidia count: all capabilities: [gpu] frontend: build: ./dubbing_frontend ports: - "5173:5173" environment: - VITE_API_BASE=http://localhost:8000 depends_on: - backend