- docker-compose.yml: port 7890:7890, image/container/volume all renamed to tts-voice-creator-clone-and-design-2 - Dockerfile: EXPOSE 7890 - server.py: uvicorn binds to port 7890 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
36 lines
821 B
YAML
36 lines
821 B
YAML
services:
|
|
tts-voice-creator-clone-and-design-2:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: tts-voice-creator-clone-and-design-2:latest
|
|
container_name: tts-voice-creator-clone-and-design-2
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
- "7890:7890"
|
|
|
|
volumes:
|
|
- ${VOICE_HOST_DIR:-./voices}:/voices:rw
|
|
- tts-voice-creator-clone-and-design-2:/home/app/.config/tts-voice-creator
|
|
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
- VOICES_DIR=/voices
|
|
- OUTPUT_DIR=/voices/active_voices
|
|
- TTS_CONTAINER_NAME=faster-qwen3-tts
|
|
- VOICE_DESIGN_MODEL=Qwen3-TTS-12Hz-1.7B-VoiceDesign
|
|
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
networks:
|
|
- tts_net
|
|
|
|
volumes:
|
|
tts-voice-creator-clone-and-design-2:
|
|
|
|
networks:
|
|
tts_net:
|
|
external: true
|