40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
services:
|
|
xvc-studio:
|
|
build: .
|
|
image: mike-ai/xvc-studio:2026-09-09-enhance
|
|
container_name: mike-ai-xvc-studio
|
|
restart: "no"
|
|
labels:
|
|
com.mike-ai.voice-change-worker: xvc
|
|
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:8009:8009"
|
|
volumes:
|
|
- /data/voice/xvc/huggingface:/models/huggingface
|
|
- /data/voice/xvc/output:/output
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8009/ >/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: [xvc-studio]
|
|
|
|
networks:
|
|
frontend:
|
|
name: mike-ai_frontend
|
|
external: true
|