- agent/memory_mcp.py: MCP server with memory_recall, memory_save, memory_list tools backed by .md files in /memory (simple keyword matching for v1) - memory/ dir bind-mounted into container, persists across rebuilds, easily backed up via git - System prompt instructs Hope to recall on past references and save personal info/preferences naturally without announcing it - Dockerfile: copy memory_mcp.py; compose: ./memory:/memory volume
29 lines
1.1 KiB
YAML
29 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}"
|
|
volumes:
|
|
- ./livekit.yaml:/etc/livekit.yaml:ro
|
|
- ./certs:/etc/voice/certs
|
|
- ./memory:/memory
|
|
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
|