Files
audio-engine-hub/docker-compose.yml
stephan 91887ae296 feat: Add XTTS v2 support, refactor Docker/GPU infra, and improve Piper engine
- 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
2025-12-13 11:37:58 +01:00

20 lines
688 B
YAML

version: '3.8'
services:
app:
image: ${REGISTRY}/${USERNAME}/${IMAGE_NAME}:${TAG}
container_name: ${IMAGE_NAME}_app
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:
- "${APP_PORT:-8000}:8000"
env_file:
- .env