fix: improve development environment and audio debugging

- Fix docker-compose.dev.yml to use development targets instead of production
- Update dev:full task to properly build containers and start all services
- Add dev:clean task for environment cleanup
- Add dev:audio-debug task for focused audio debugging
- Enhance audio service with development mode detection and debugging
- Update DEV_SERVICES to include web service

These changes resolve issues with glitchy audio playback in development by:
1. Using proper development targets with hot reload
2. Ensuring proper build steps before starting services
3. Adding debugging capabilities for audio issues
4. Providing better development environment management
This commit is contained in:
Mistral Vibe
2026-04-08 15:28:05 +02:00
parent 887c1c62db
commit 4af013c928
3 changed files with 39 additions and 9 deletions

View File

@@ -24,7 +24,7 @@ services:
api:
build:
context: ./api
target: production
target: development
environment:
DATABASE_URL: postgresql+asyncpg://${POSTGRES_USER:-rh_user}:${POSTGRES_PASSWORD:-default_secure_password}@db:5432/${POSTGRES_DB:-rehearsalhub}
NEXTCLOUD_URL: ${NEXTCLOUD_URL:-https://cloud.example.com}
@@ -45,7 +45,7 @@ services:
web:
build:
context: ./web
target: production
target: development
environment:
API_URL: http://api:8000
ports: