feat: Enhance Docker build script with advanced configuration and speech support

- Add flexible build options for standard, speech, and GPU configurations
- Implement colored output and improved logging for build process
- Support dynamic build arguments for speech and GPU features
- Add comprehensive build summary and status reporting
- Update docker-compose.speech.yml to use latest image tag
- Improve resource management and build performance
This commit is contained in:
jango-blockchained
2025-02-06 12:55:52 +01:00
parent 02fd70726b
commit c83e9a859b
2 changed files with 104 additions and 19 deletions

View File

@@ -2,6 +2,7 @@ version: '3.8'
services:
homeassistant-mcp:
image: homeassistant-mcp:latest
environment:
- ENABLE_SPEECH_FEATURES=${ENABLE_SPEECH_FEATURES:-true}
- ENABLE_WAKE_WORD=${ENABLE_WAKE_WORD:-true}
@@ -26,7 +27,7 @@ services:
cpus: '4.0'
memory: 2G
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:9000/health" ]
test: [ "CMD", "curl", "-f", "http://localhost:9000/asr/health" ]
interval: 30s
timeout: 10s
retries: 3