version: "3.9" services: backend: build: context: .. dockerfile: docker/Dockerfile.backend ports: - "8000:8000" env_file: - ../backend/.env environment: # Cartesia is the primary TTS; Kokoro stays as a self-hosted fallback # in case the vendor request fails or CARTESIA_API_KEY is unset. - KOKORO_URL=http://kokoro:8880 depends_on: - kokoro frontend: build: context: .. dockerfile: docker/Dockerfile.frontend args: VITE_BACKEND_URL: http://localhost:8000 ports: - "3000:80" depends_on: - backend kokoro: image: ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.2 ports: - "8880:8880" volumes: - kokoro_models:/app/models volumes: kokoro_models: