Files
container-qwen3-tts/docker-build/docker-compose-base.yml
2026-01-29 14:14:24 +08:00

24 lines
632 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
qwen3-tts-clone:
image: qwen3-tts-clone:${QWEN_TTS_VERSION:-1.2.1}
build: .
container_name: qwen3-tts-clone
restart: unless-stopped
gpus: all
environment:
HF_HOME: /cache/hf
HUGGINGFACE_HUB_CACHE: /cache/hf/hub
TRANSFORMERS_CACHE: /cache/hf/transformers
volumes:
# 这里换成你本地 Base 模型目录(用于 voice clone
- ../qwen3-tts-base:/models/qwen3-base:ro
ports:
- "8002:8000"
command: >
bash -lc "
qwen-tts-demo /models/qwen3-base
--ip 0.0.0.0
--port 8000
--no-flash-attn
"