- Remove memory_mcp.py (stdio markdown-file memory) - Add Cognee MCP as remote Streamable HTTP toolset at 192.168.86.2:8003/mcp - Filter to only remember/recall/forget tools via allowed_tools - Update system prompt: Memory section moved to top priority with explicit 'call recall FIRST' instructions and examples - Add COGNEE_MCP_URL env var to docker-compose - Remove /memory volume mount (no longer needed) - Rewrite memory tests to use Cognee HTTP client fixture - 28/28 tests passing
30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
services:
|
|
voice:
|
|
build: .
|
|
container_name: voice
|
|
network_mode: host
|
|
environment:
|
|
LIVEKIT_URL: "http://localhost:7880"
|
|
LIVEKIT_API_KEY: "${LIVEKIT_API_KEY:-devkey}"
|
|
LIVEKIT_API_SECRET: "${LIVEKIT_API_SECRET:-devsecret}"
|
|
AZURE_SPEECH_KEY: "${AZURE_SPEECH_KEY:?Set AZURE_SPEECH_KEY in .env}"
|
|
AZURE_SPEECH_REGION: "${AZURE_SPEECH_REGION:-eastus}"
|
|
AZURE_TTS_VOICE: "${AZURE_TTS_VOICE:-en-US-AvaNeural}"
|
|
GEMMA_BASE_URL: "${GEMMA_BASE_URL:-http://192.168.86.2:8023/v1}"
|
|
GEMMA_MODEL: "${GEMMA_MODEL:-gemma-4-e4b}"
|
|
GEMMA_API_KEY: "${GEMMA_API_KEY:-not-needed}"
|
|
WEB_MCP_ENABLED: "${WEB_MCP_ENABLED:-true}"
|
|
FIRECRAWL_BASE: "${FIRECRAWL_BASE:-http://192.168.86.2:3002}"
|
|
COGNEE_MCP_URL: "${COGNEE_MCP_URL:-http://192.168.86.2:8003/mcp}"
|
|
volumes:
|
|
- ./livekit.yaml:/etc/livekit.yaml:ro
|
|
- ./certs:/etc/voice/certs
|
|
- ./skills:/skills
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -sk https://localhost:8090/ -o /dev/null && curl -s http://localhost:7880/ -o /dev/null"]
|
|
interval: 15s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 20s
|
|
restart: unless-stopped
|