services: voice-studio: build: . image: mike-ai/omnivoice-studio:0.2.1 container_name: mike-ai-voice-studio restart: "no" labels: # Kept compatible with the current controller during the A/B gate. com.mike-ai.voice-worker: vevo2 environment: NVIDIA_VISIBLE_DEVICES: ${VOICE_GPU_UUID:?set VOICE_GPU_UUID to the RTX 5080 UUID} NVIDIA_DRIVER_CAPABILITIES: compute,utility HF_HOME: /models/huggingface PYTORCH_CUDA_ALLOC_CONF: expandable_segments:True ports: - "127.0.0.1:8008:8008" volumes: - /data/voice/omnivoice/huggingface:/models/huggingface - /data/voice/omnivoice/output:/output healthcheck: test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8008/ >/dev/null"] interval: 5s timeout: 3s start_period: 600s retries: 3 deploy: resources: reservations: devices: - driver: nvidia device_ids: ["${VOICE_GPU_UUID:?set VOICE_GPU_UUID to the RTX 5080 UUID}"] capabilities: [gpu] networks: frontend: aliases: [voice-studio] networks: frontend: name: mike-ai_frontend external: true