Files
audio-engine-hub/docker-compose.yml
stephan a466d8e00f fix: Resolve model loading and deployment issues
This commit fixes several critical issues that prevented the service from deploying correctly and loading the TTS models.

- **Fix Model Loading:** Corrected the volume mount path in  to point to the correct  source directory. The  engine code was also updated to use absolute paths () inside the container, making the model loading mechanism robust.
- **Update Session Resume:** The  has been updated to reflect the final debugging steps and the successful resolution of all issues.
2025-12-04 22:24:58 +01:00

19 lines
583 B
YAML

version: '3.8'
services:
app:
build: .
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
command: ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
ports:
- "${APP_PORT:-8000}:8000"
env_file:
- .env