- Add XTTS v2 configuration to .env.example - Refactor Dockerfile to multi-stage build with CUDA 12.1 support - Update Makefile with Kokoro and XTTS test environment targets - Refactor Piper engine (app/engines/piper.py) to use python module execution - Add comprehensive documentation for Kokoro and XTTS plans - Add helper scripts and patches for build process
21 lines
718 B
YAML
21 lines
718 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
app-kokoro-test:
|
|
image: ${REGISTRY}/${USERNAME}/${IMAGE_NAME}:dev-kokoro-v5
|
|
container_name: audio-engine-hub_kokoro_test
|
|
restart: unless-stopped
|
|
volumes:
|
|
# Mount local app directory for hot-reloading in dev
|
|
- ./app:/home/appuser/app
|
|
# Mount models directory to a top-level directory in the container
|
|
- ./app/models:/models
|
|
# Mount asset directory to persist generated audio files
|
|
- ./asset:/home/appuser/app/asset
|
|
# Use Dockerfile's CMD (gunicorn) instead of uvicorn for production
|
|
# command: ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
ports:
|
|
- "8001:8000"
|
|
env_file:
|
|
- .env.kokoro-test
|