# ───────────────────────────────────────────────────────────────────────────── # TTS Voice Creator - Clone and Design — Portainer Stack # # IMPORTANT: build the image on the host before deploying this stack: # # docker build -t tts-voice-creator-clone-and-design:latest /home/sparky/Docker/tts-voice-creator-clone-and-design/ # # Then paste this file into Portainer → Stacks → Add stack → Web editor. # ───────────────────────────────────────────────────────────────────────────── services: tts-voice-creator-clone-and-design: image: tts-voice-creator-clone-and-design:latest container_name: tts-voice-creator-clone-and-design restart: unless-stopped ports: - "7860:7860" volumes: - /home/sparky/Projekte/TTS_Voices:/voices:rw - tts-voice-creator-clone-and-design:/home/app/.config/voice-clone-factory - /home/sparky/Docker/tts-voice-creator-clone-and-design/static:/app/static:ro - /var/run/docker.sock:/var/run/docker.sock group_add: - "988" environment: - PYTHONUNBUFFERED=1 - VOICES_DIR=/voices - OUTPUT_DIR=/voices/active_voices - TTS_CONTAINER_NAME=faster-qwen3-tts-voiceclone - TTS_STREAM_URL=http://host.docker.internal:8023 - VOICE_DESIGN_MODEL=Qwen3-TTS-12Hz-1.7B-VoiceDesign extra_hosts: - "host.docker.internal:host-gateway" networks: - dgx_net volumes: tts-voice-creator-clone-and-design: networks: dgx_net: external: true