feat: mount voice model cache volumes to avoid re-downloading on restart

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-02-24 02:28:28 -08:00
parent abf5e29419
commit 82d12a5ff5
1 changed files with 3 additions and 0 deletions

View File

@ -316,6 +316,9 @@ services:
restart: unless-stopped
ports:
- "13008:3008"
volumes:
- ../../data/voice-models/huggingface:/root/.cache/huggingface
- ../../data/voice-models/torch-hub:/root/.cache/torch/hub
environment:
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- ANTHROPIC_BASE_URL=${ANTHROPIC_BASE_URL}